Christopher Hübner
11/13/2024, 2:36 PMMichael Krussel
11/13/2024, 3:01 PMkotlin {
sourceSets.jvmMain {
kotlin.srcDir("myOtherDir")
}
}
This will make both jvmMain
and myOtherDir
be places where the source code for the JVM platform can be located.Michael Krussel
11/13/2024, 3:02 PMeygraber
11/13/2024, 3:58 PMjvm("desktop")
and then the source that is created will be desktopMain
instead of jvmMain
.