Files
Ilya Kirillov 553c525701 Wizard: fix Gradle buildscript formatting
#KT-37965 fixed
2020-09-09 00:20:57 +03:00

54 lines
1.0 KiB
Groovy
Vendored

plugins {
id 'org.jetbrains.kotlin.multiplatform' version 'KOTLIN_VERSION'
}
group = 'testGroupId'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url 'https://dl.bintray.com/kotlin/kotlin-dev'
}
}
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')
}
}
}
}