36 lines
672 B
Kotlin
Vendored
36 lines
672 B
Kotlin
Vendored
plugins {
|
|
kotlin("js") version "KOTLIN_VERSION"
|
|
}
|
|
|
|
group = "me.user"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
maven("KOTLIN_REPO")
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test-js"))
|
|
}
|
|
|
|
kotlin {
|
|
js(LEGACY) {
|
|
browser {
|
|
binaries.executable()
|
|
webpackTask {
|
|
cssSupport.enabled = true
|
|
}
|
|
runTask {
|
|
cssSupport.enabled = true
|
|
}
|
|
testTask {
|
|
useKarma {
|
|
useChromeHeadless()
|
|
webpackConfig.cssSupport.enabled = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |