39 lines
1.0 KiB
Groovy
39 lines
1.0 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion versions.compile
|
|
buildToolsVersion versions.buildTool
|
|
|
|
defaultConfig {
|
|
minSdkVersion versions.mini
|
|
targetSdkVersion versions.target
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1-alpha01', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
testImplementation 'junit:junit:4.12'
|
|
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
api 'androidx.annotation:annotation:1.0.0'
|
|
api 'com.github.hyb1996:settingscompat:1.1.5'
|
|
}
|