38 lines
965 B
Groovy
38 lines
965 B
Groovy
plugins {
|
|
id 'org.jetbrains.kotlin.js'
|
|
}
|
|
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-js"
|
|
|
|
implementation project(":fints4k")
|
|
|
|
implementation "org.jetbrains.kotlin-wrappers:kotlin-react:17.0.2-pre.293-kotlin-$kotlinVersion"
|
|
implementation "org.jetbrains.kotlin-wrappers:kotlin-react-dom:17.0.2-pre.293-kotlin-$kotlinVersion"
|
|
implementation "org.jetbrains.kotlin-wrappers:kotlin-styled:5.3.3-pre.293-kotlin-$kotlinVersion"
|
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-js"
|
|
}
|
|
|
|
kotlin {
|
|
js(IR) {
|
|
browser {
|
|
webpackTask {
|
|
cssSupport.enabled = true
|
|
}
|
|
|
|
runTask {
|
|
cssSupport.enabled = true
|
|
}
|
|
|
|
testTask {
|
|
useKarma {
|
|
useChromeHeadless()
|
|
webpackConfig.cssSupport.enabled = true
|
|
}
|
|
}
|
|
}
|
|
binaries.executable()
|
|
}
|
|
} |