In a KMP project with Android, JVM and iOS targets, I added io.github.vinceglb:filekit-dialogs-compose version 0.11.0 as a commonMain dependency. It works on Android, but when I try to run the JVM target (named "desktop") I got this strange error:
➜ ./gradlew desktopRun
> Task :desktopRun FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':desktopRun'.
> Could not resolve all files for configuration ':desktopRuntimeClasspath'.
> Could not find jna-5.17.0-jpms.jar (net.java.dev.jna:jna:5.17.0).
Searched in the following locations:
https://repo.maven.apache.org/maven2/net/java/dev/jna/jna/5.17.0/jna-5.17.0-jpms.jar
./gradlew runDistributable fails with the same error on createDistributable. I'm not sure why it's looking for a jar that doesn't exist and that never existed.
In a KMP project with Android, JVM and iOS targets, I added
io.github.vinceglb:filekit-dialogs-composeversion 0.11.0 as acommonMaindependency. It works on Android, but when I try to run the JVM target (named "desktop") I got this strange error:./gradlew runDistributablefails with the same error oncreateDistributable. I'm not sure why it's looking for a jar that doesn't exist and that never existed.