mirror of
https://github.com/InsanusMokrassar/KotlinMultiplatformProjectTemplate.git
synced 2024-11-21 15:53:55 +00:00
33 lines
710 B
Groovy
33 lines
710 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
|
|
}
|
|
}
|
|
}
|
|
}
|