https://kotlinlang.org logo
h

Hamza

11/15/2018, 3:43 AM
how can i configure things like compilekotlin2Js in a multiplatform build?
e

egorand

11/15/2018, 3:34 PM
you can do things like:
Copy code
kotlin {
  targets {
    fromPreset(presets.js, 'js') {
      tasks[compilations.main.compileKotlinTaskName].kotlinOptions {
        // config
      }
    }
  }
}
h

Hamza

11/15/2018, 11:08 PM
Oooooooh
Its compilations.main