Thread
#multiplatform
    d

    darkmoon_uk

    3 years ago
    Really want to support a project with both an Android and Desktop Java source-set
    h0tk3y

    h0tk3y

    3 years ago
    Unfortunately, that's not supported at this point. We are investigating the possibilities to get rid of that conflict. For now, you can create a separate JVM-only subproject depending on the multiplatform module if that covers your use case.
    c

    coletz

    3 years ago
    Uhm... Maybe I'm no understanding correctly your question but I have a working project which targets android, jvm backend and jvm desktop (with tornadofx). Using java 8 since javafx is not bundled anymore since java 9 and tornadofx needs it. Don't have any other issue at the moment. I can share the build.gradle when I'll be back home
    h0tk3y

    h0tk3y

    3 years ago
    @coletz In Kotlin 1.3.x Multiplatform projects, you can't add both an Android target and a JVM target with Java support in the same Gradle subproject. You can only have one of them (or an Android target and a JVM target without Java support). You are free to do so in different modules, though.