2020-12-11 14:41:48 +00:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
2021-02-06 23:16:04 +00:00
|
|
|
kotlin("android")
|
2020-12-11 14:41:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion(Config.compileSdk)
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion(Config.minSdk)
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
named("main") {
|
|
|
|
manifest.srcFile("AndroidManifest.xml")
|
2021-02-06 23:16:04 +00:00
|
|
|
java.setSrcDirs(listOf("src"))
|
2020-12-11 14:41:48 +00:00
|
|
|
res.setSrcDirs(listOf("res"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libraryVariants.all {
|
|
|
|
generateBuildConfigProvider?.configure {
|
|
|
|
enabled = false
|
|
|
|
}
|
|
|
|
}
|
2021-02-06 23:16:04 +00:00
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly(Deps.kotlin.stdlib)
|
2020-12-11 14:41:48 +00:00
|
|
|
}
|