Hi, I am trying to create a jar file manually from the classes created by Compose Multiplatform project in IntelliJ.
I tried:
jar cmf META-INF/MANIFEST.MF MainKt.jar *.class
and it appears to work, but since I have not added the jar files containing the Compose classes, I get:
Error: Unable to initialize main class MainKt
Caused by: java.lang.NoClassDefFoundError: androidx/compose/runtime/MutableState
When trying to run said jar file with:
java -jar MainKt.jar
What jar files should I add to the classpath in order to get a valid MainKt.jar ?