runDceKotlinJs and runDceTestKotlinJs are tasks, so it shouldn’t be a problem to configure them with Kotlin DSL, if you have some problems, please share your existing code
a
Alexander Weickmann
03/07/2019, 5:15 PM
thanks for the hint. was actually enough for me to figure it out:
tasks.withType<KotlinJsDce> {
dceOptions.devMode = true
}
g
gildor
03/07/2019, 5:18 PM
if you use plugins dsl and apply Kotlin JS plugin using it, you also should have static accessor like
tasks.runDceKotlinJs
gildor
03/07/2019, 5:18 PM
but probably for this particular case configuring all tasks by type is better solution