Hello friends. is there a way to configure `LEGACY...
# javascript
r
Hello friends. is there a way to configure
LEGACY
/
IR
/
BOTH
directly in the KotlinTarget ? I need this, as I’m using a custom Gradle plugin, thus
js(compiler)
or gradle.properties are not possible
b
cc @Ilya Goncharov [JB]
r
hardcoding
target="jsBoth"
is working, but if you have more elegant way, I’m open to suggestions
r
Nope as we are looking for the preset by its name to configure it we cannot use the
js(IR)
method here is how we configure our target https://github.com/Kodein-Framework/kodein-internal-gradle-plugin/blob/738cafdd7e558f78790f2ba1c0a07ba9de6b1266/src/main/kotlin/org/kodein/internal/gradle/KodeinMppExtension.kt#L239