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

darkmoon_uk

08/09/2019, 2:58 PM
Has anyone found a solution yet to including the
java
and
android
plugins in the same multi-platform project? Not being able to have targets for android and javafx desktop co-existing in my multi-platform client modules is really cramping my style... I think a code change is probably necessary in the
android
plugin to prevent it misbehaving in the presence of the
java
one.
d

Dominaezzz

08/09/2019, 3:01 PM
I don't think you don't need
java
for JavaFX.
I don't use it.
👍 2
m

mbonnin

08/10/2019, 4:03 PM
Not sure if it's related but I use the `com.android.library`plugin instead of the
java
plugin on my project due to https://youtrack.jetbrains.com/issue/KT-32814
d

darkmoon_uk

08/11/2019, 10:04 PM
... @Dominaezzz is right the solution to Java (FX) / Android co-existence, at least for now, was embarrassingly simple; to just not include the
java
plugin. This means I'm now able to move towards proper
com.android.library
multi-platform targets in the template sub-projects. Let's see how that affects the issue you raised against it, @mbonnin 🙂