2020-11-09 16:49:06 +00:00
|
|
|
project.version = "$version"
|
|
|
|
project.group = "$group"
|
|
|
|
|
|
|
|
apply from: "$publishGradlePath"
|
|
|
|
|
|
|
|
kotlin {
|
2020-11-10 06:47:47 +00:00
|
|
|
android {}
|
2020-11-09 16:49:06 +00:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('stdlib')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-common')
|
|
|
|
implementation kotlin('test-annotations-common')
|
|
|
|
}
|
|
|
|
}
|
2020-11-10 08:32:50 +00:00
|
|
|
}
|
|
|
|
}
|
2020-11-09 16:49:06 +00:00
|
|
|
|
2020-11-10 08:32:50 +00:00
|
|
|
android {
|
|
|
|
compileSdkVersion "$android_compileSdkVersion".toInteger()
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion "$android_minSdkVersion".toInteger()
|
|
|
|
targetSdkVersion "$android_compileSdkVersion".toInteger()
|
|
|
|
versionCode "${android_code_version}".toInteger()
|
|
|
|
versionName "$version"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
2020-11-09 16:49:06 +00:00
|
|
|
}
|
|
|
|
}
|
2020-11-10 08:32:50 +00:00
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/kotlinx-serialization-runtime.kotlin_module'
|
|
|
|
exclude 'META-INF/kotlinx-serialization-cbor.kotlin_module'
|
|
|
|
exclude 'META-INF/kotlinx-serialization-properties.kotlin_module'
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
}
|
2020-11-09 16:49:06 +00:00
|
|
|
}
|