tapchicoma
10/09/2018, 7:56 PMthevery
10/09/2018, 8:23 PMh0tk3y
10/09/2018, 8:25 PMapplication
plugin sets up its defaults relying on the java
plugin, which is not applied by the kotlin-multiplatform
plugin's jvm
preset (it does not compile Java either). In Kotlin 1.3 RC, you can try to use the presets.jvmWithJava
preset instead of presets.jvm
, which will apply the java
plugin and build Kotlin compilations according to the Java source sets. The application
plugin should work with the target created from the jvmWithJava
preset this way. Note, however, that this preset is most likely to be removed shortly in favor of another form of Java support.tapchicoma
10/09/2018, 8:38 PMgildor
10/10/2018, 2:53 AMh0tk3y
10/10/2018, 12:12 PMjava
plugin to be applied, so not applying it would ruin interoperation with those plugins. We consider supporting it in the jvm
preset, just not applying the java
plugin by default and requiring it to be applied explicitly by a user if they need Java support, in which case we will setup Kotlin compilations of the JVM target accordingly (bind them to the Java source sets).