59 lines
1.7 KiB
Groovy
59 lines
1.7 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
description = "Mowesta Android SDK"
|
|
|
|
// remove project version to workaround bugs in
|
|
// oss-license-plugin that detects local libraries
|
|
// by checking for a version called "unspecified"
|
|
// see DependencyTask.groovy on GitHub at
|
|
// https://github.com/google/play-services-plugins
|
|
project.version = "unspecified"
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
|
|
defaultConfig {
|
|
minSdkVersion 19
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
testOptions.unitTests.includeAndroidResources = true
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
quiet true
|
|
}
|
|
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
api project(":android-feign")
|
|
|
|
implementation "androidx.appcompat:appcompat:${versionAndroidXAppcompat}"
|
|
|
|
implementation "androidx.preference:preference:${versionAndroidXPreference}"
|
|
|
|
implementation "androidx.room:room-runtime:${versionAndroidXRoom}"
|
|
annotationProcessor "androidx.room:room-compiler:${versionAndroidXRoom}"
|
|
testImplementation "androidx.room:room-testing:${versionAndroidXRoom}"
|
|
|
|
testImplementation "junit:junit:${versionJunit}"
|
|
testImplementation "org.robolectric:robolectric:${versionRobolectric}"
|
|
testImplementation "androidx.test:core:${versionAndroidXTest}"
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
} |