2020-11-09 22:49:06 +06:00
|
|
|
project.version = "$version"
|
|
|
|
project.group = "$group"
|
|
|
|
|
|
|
|
apply from: "$publishGradlePath"
|
|
|
|
|
|
|
|
kotlin {
|
2023-09-22 14:14:23 +06:00
|
|
|
androidTarget {
|
2020-11-11 16:06:44 +06:00
|
|
|
publishAllLibraryVariants()
|
2023-11-02 19:00:35 +06:00
|
|
|
compilations.all {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "17"
|
|
|
|
}
|
|
|
|
}
|
2020-11-11 16:06:44 +06:00
|
|
|
}
|
2020-11-09 22:49:06 +06:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('stdlib')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-common')
|
|
|
|
implementation kotlin('test-annotations-common')
|
2023-08-12 22:37:35 +06:00
|
|
|
implementation libs.kt.coroutines.test
|
2020-11-09 22:49:06 +06:00
|
|
|
}
|
|
|
|
}
|
2020-11-10 14:32:50 +06:00
|
|
|
}
|
|
|
|
}
|
2020-11-09 22:49:06 +06:00
|
|
|
|
2020-11-10 15:43:15 +06:00
|
|
|
apply from: "$defaultAndroidSettingsPresetPath"
|
2021-09-19 20:50:24 +06:00
|
|
|
|
|
|
|
java {
|
2023-11-02 19:00:35 +06:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
2021-09-19 20:50:24 +06:00
|
|
|
}
|