mirror of
https://github.com/InsanusMokrassar/KotlinMultiplatformProjectTemplate.git
synced 2024-11-22 08:13:55 +00:00
32 lines
663 B
Groovy
32 lines
663 B
Groovy
project.version = "$version"
|
|
project.group = "$group"
|
|
|
|
// apply from: "$publishGradlePath"
|
|
|
|
kotlin {
|
|
js (BOTH) {
|
|
browser()
|
|
nodejs()
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation kotlin('stdlib')
|
|
}
|
|
}
|
|
commonTest {
|
|
dependencies {
|
|
implementation kotlin('test-common')
|
|
implementation kotlin('test-annotations-common')
|
|
}
|
|
}
|
|
jsTest {
|
|
dependencies {
|
|
implementation kotlin('test-js')
|
|
implementation kotlin('test-junit')
|
|
}
|
|
}
|
|
}
|
|
}
|