55 lines
1.5 KiB
Groovy
55 lines
1.5 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'org.jetbrains.dokka'
|
|
id 'kotlin-parcelize'
|
|
id 'com.vanniktech.maven.publish'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.king.app.updater'
|
|
compileSdk build_versions.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdk build_versions.minSdk
|
|
targetSdk build_versions.targetSdk
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
}
|
|
lint {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation "junit:junit:$versions.junit"
|
|
androidTestImplementation "androidx.test.ext:junit:$versions.androidExtJunit"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:$versions.espressoCore"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.coroutines"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.coroutines"
|
|
|
|
api "com.github.jenly1314:logx:$versions.logx"
|
|
|
|
compileOnly "androidx.appcompat:appcompat:$versions.appcompat"
|
|
compileOnly "com.squareup.okhttp3:okhttp:$versions.okhttp"
|
|
|
|
|
|
|
|
}
|