https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

Dico

06/06/2019, 11:52 PM
In the multiplatform plugin, why does the jvmWithJava target behave differently to the jvm target defaults with respect to naming of source sets and tasks? The target's name isn't used as a prefix, so you don't get
jvmJar
jvmMain
but you get
jar
and
main
h

h0tk3y

06/07/2019, 2:20 AM
The
jvmWithJava
preset was an experimental, more like internal, way to support Java using the Gradle's built-in Java plugin, hence the names. Note that it will become deprecated in 1.3.40 in favor of the new mechanism that uses normal JVM targets. See this post: https://kotlinlang.slack.com/archives/C3PQML5NU/p1558699504007600
d

Dico

06/07/2019, 5:40 AM
Ah, okay. Thanks!