2021-03-02 15:28:33 +06:00
|
|
|
project.version = "$version"
|
2020-12-02 21:50:52 +06:00
|
|
|
project.group = "$group"
|
|
|
|
|
|
|
|
// apply from: "$publishGradlePath"
|
|
|
|
|
|
|
|
kotlin {
|
2022-06-29 13:36:42 +06:00
|
|
|
jvm {
|
|
|
|
compilations.main {
|
|
|
|
kotlinOptions {
|
2023-11-02 19:21:20 +06:00
|
|
|
jvmTarget = "17"
|
2022-06-29 13:36:42 +06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-25 15:15:50 +06:00
|
|
|
js (IR) {
|
2020-12-02 21:50:52 +06:00
|
|
|
browser()
|
|
|
|
nodejs()
|
|
|
|
}
|
2023-11-02 19:25:17 +06:00
|
|
|
androidTarget {
|
2020-12-02 21:50:52 +06:00
|
|
|
publishAllLibraryVariants()
|
2023-11-02 19:21:20 +06:00
|
|
|
compilations.all {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "17"
|
|
|
|
}
|
|
|
|
}
|
2020-12-02 21:50:52 +06:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
2022-01-29 21:47:34 +06:00
|
|
|
implementation libs.kotlin
|
|
|
|
api libs.kotlin.serialization
|
2020-12-02 21:50:52 +06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
2022-01-29 21:47:34 +06:00
|
|
|
implementation libs.kotlin.test.common
|
|
|
|
implementation libs.kotlin.test.annotations.common
|
2020-12-02 21:50:52 +06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
jvmTest {
|
|
|
|
dependencies {
|
2022-01-29 21:47:34 +06:00
|
|
|
implementation libs.kotlin.test.junit
|
2020-12-02 21:50:52 +06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
jsTest {
|
|
|
|
dependencies {
|
2022-01-29 21:47:34 +06:00
|
|
|
implementation libs.kotlin.test.js
|
2020-12-02 21:50:52 +06:00
|
|
|
}
|
|
|
|
}
|
2023-08-24 09:58:09 +06:00
|
|
|
androidUnitTest {
|
2020-12-02 21:50:52 +06:00
|
|
|
dependencies {
|
2022-01-29 21:47:34 +06:00
|
|
|
implementation libs.kotlin.test.junit
|
|
|
|
implementation libs.android.test.junit
|
|
|
|
implementation libs.android.test.espresso.core
|
2020-12-02 21:50:52 +06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-23 13:20:20 +06:00
|
|
|
java {
|
2023-11-02 19:21:20 +06:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
2021-09-23 13:20:20 +06:00
|
|
|
}
|
|
|
|
|
2024-11-11 16:49:11 +06:00
|
|
|
apply from: "$defaultAndroidSettings"
|