How create custom sourceSet with Gradle Kotlin DSL...
# javascript
u
How create custom sourceSet with Gradle Kotlin DSL? Not MPP (just JS project). Just custom sourceSet, which can be compiled separately and on which other sourceSets may depend.
r
java.sourceSets
u
@robstoll how exactly use it? I need source set for Kotlin/JS... Is it ok that it start with
java
? How to use it with Kotlin DSL (not Groovy)?
r
in groovy you can omit
java.
. This is only required in Kotlin DSL. One example https://stackoverflow.com/questions/46419817/how-to-add-new-sourceset-with-gradle-kotlin-dsl
u
it don't work