KotlinMultiplatformProjectT.../mppJsProject.gradle

32 lines
661 B
Groovy
Raw Normal View History

2021-03-07 15:22:27 +00:00
project.version = "$version"
project.group = "$group"
// apply from: "$publishGradlePath"
kotlin {
2021-10-25 09:16:16 +00:00
js (IR) {
2021-03-07 15:22:27 +00:00
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')
}
}
}
}