darkmoon_uk
10/17/2021, 12:52 PMmodule-info.java under <jvmSourceSet>/java but the IDE is not reacting.
My immediate case is to add java.desktop to use some AWT classes.ephemient
10/17/2021, 7:30 PMsrc/main/kotlin. putting it in src/main/java results in Kotlin compiled without module info IIRC
for multiplatform, the java directory isn't used unless you specify kotlin { jvm { withJava() } }, but try src/jvmMain/kotlin/module-info.java firstdarkmoon_uk
10/17/2021, 10:53 PMmodule-info.java into src/jvmMain/kotlin was ignored (as the IDE warned it would be)
• Adding withJava() didn't work as my KMM module also has an Android target and the Gradle plugin threw an error saying this was unsupported.
I tried adding --add-modules to my free compiler args; but since this goes to kotlinc and not javac it was unsupported too.darkmoon_uk
10/17/2021, 10:54 PMMichael Paus
10/18/2021, 2:23 PMdarkmoon_uk
10/18/2021, 10:44 PMdarkmoon_uk
10/18/2021, 10:45 PMdarkmoon_uk
10/18/2021, 10:46 PMjava.desktop so I need a way of acquiring that on my class-path.darkmoon_uk
10/18/2021, 10:46 PMMichael Paus
10/19/2021, 1:25 PM