You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
707 B
Groovy
33 lines
707 B
Groovy
project.version = "$version"
|
|
project.group = "$group"
|
|
|
|
apply from: "$publishGradlePath"
|
|
|
|
kotlin {
|
|
js (IR) {
|
|
browser()
|
|
nodejs()
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation libs.kotlin
|
|
api libs.kotlin.serialization
|
|
}
|
|
}
|
|
commonTest {
|
|
dependencies {
|
|
implementation libs.kotlin.test.common
|
|
implementation libs.kotlin.test.annotations.common
|
|
}
|
|
}
|
|
jsTest {
|
|
dependencies {
|
|
implementation libs.kotlin.test.js
|
|
implementation libs.kotlin.test.junit
|
|
}
|
|
}
|
|
}
|
|
}
|