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.
👀 3
m
mbonnin
11/28/2021, 10:59 PM
Would it work setting it up as an automatic module?
Copy code
val jvmJar by tasks.getting(Jar::class) {
manifest {
attributes("Automatic-Module-Name" to "com.example.module.name")
}
}