2023-11-02 11:40:56 +00:00
|
|
|
project.version = "$version" + (System.getenv("additional_version") == null ? "" : System.getenv("additional_version"))
|
2021-03-01 14:17:06 +00:00
|
|
|
project.group = "$group"
|
|
|
|
|
|
|
|
// apply from: "$publishGradlePath"
|
|
|
|
|
|
|
|
kotlin {
|
2022-11-10 17:48:59 +00:00
|
|
|
jvm()
|
2021-03-01 14:17:06 +00:00
|
|
|
js (IR) {
|
|
|
|
browser()
|
|
|
|
nodejs()
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('stdlib')
|
2023-07-10 09:00:35 +00:00
|
|
|
api libs.kt.serialization
|
2021-03-01 14:17:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-common')
|
|
|
|
implementation kotlin('test-annotations-common')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jvmTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-junit')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jsTest {
|
|
|
|
dependencies {
|
|
|
|
implementation kotlin('test-js')
|
|
|
|
implementation kotlin('test-junit')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|