36 lines
686 B
Kotlin
Vendored
36 lines
686 B
Kotlin
Vendored
plugins {
|
|
kotlin("js") version "KOTLIN_VERSION"
|
|
}
|
|
|
|
group = "me.user"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
maven { url = uri("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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |