Carter
05/29/2020, 6:58 PM./gradlew :app:run --args="..."
but when I do that I get Error: Could not find or load main class
. I have a main class set in app/build.gradle
but it looks like I’m missing something. I found one thread from about a year ago, but it doesn’t seem to have really made it clear what’s the right solution.russhwolf
05/29/2020, 7:12 PMwithJava()
to your jvm target block to make the application plugin see it. https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#java-support-in-jvm-targetsCarter
05/29/2020, 7:16 PM