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