Thread
#multiplatform
    d

    darkmoon_uk

    9 months ago
    Do we have any support for specifying Java Modules (Jigsaw) in a KMP JVM target? I'm compiling against Java 11 and need to use an AWT class from my desktop (JVM) target and it's not on the classpath due to being separated from the main SDK as a module.
    mbonnin

    mbonnin

    9 months ago
    Would it work setting it up as an automatic module?
    val jvmJar by tasks.getting(Jar::class) {
      manifest {
        attributes("Automatic-Module-Name" to "com.example.module.name")
      }
    }