Files
Ilya Kirillov ee2f0f45fc Wizard: ignore Kotlin repo in tests
They may differ sometimes as they depend on the latest Kotlin release
2020-09-17 00:29:47 +03:00

54 lines
995 B
Groovy
Vendored

plugins {
id 'org.jetbrains.kotlin.multiplatform' version 'KOTLIN_VERSION'
}
group = 'testGroupId'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url 'KOTLIN_REPO'
}
}
kotlin {
js('nodeJs', LEGACY) {
nodejs {
binaries.executable()
}
}
js('browser', LEGACY) {
browser {
binaries.executable()
webpackTask {
cssSupport.enabled = true
}
runTask {
cssSupport.enabled = true
}
testTask {
useKarma {
useChromeHeadless()
webpackConfig.cssSupport.enabled = true
}
}
}
}
sourceSets {
nodeJsMain {
}
nodeJsTest {
}
browserMain {
}
browserTest {
dependencies {
implementation kotlin('test-js')
}
}
}
}