2022-08-18 11:56:55 +00:00
|
|
|
project.version = "$version"
|
|
|
|
project.group = "$group"
|
|
|
|
|
|
|
|
// apply from: "$publishGradlePath"
|
|
|
|
|
|
|
|
kotlin {
|
2022-10-24 18:10:34 +00:00
|
|
|
jvm()
|
2022-08-18 11:56:55 +00:00
|
|
|
js (IR) {
|
|
|
|
browser()
|
|
|
|
nodejs()
|
|
|
|
}
|
2022-10-24 18:09:18 +00:00
|
|
|
|
2022-08-18 11:56:55 +00:00
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin
|
|
|
|
api libs.kotlin.serialization
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin.test.common
|
|
|
|
implementation libs.kotlin.test.annotations.common
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jvmTest {
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin.test.junit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jsTest {
|
|
|
|
dependencies {
|
|
|
|
implementation libs.kotlin.test.js
|
|
|
|
implementation libs.kotlin.test.junit
|
|
|
|
}
|
|
|
|
}
|
2022-10-24 18:09:18 +00:00
|
|
|
|
2022-08-18 11:56:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|