bj0
12/02/2024, 6:48 AM./amper
equivalent to ./gradlew jvmRun --mainClass=<...>
Anton Mefodichev
12/02/2024, 9:12 AMjoffrey
12/02/2024, 9:16 AM./amper run -m <module-name>
, which allows you to run the (only) application from the given module. Since Amper doesn't allow multiple apps in the same module, this should cover your needs. If the auto-detected main class is not enough (or doesn't find your main class), you can specify it explicitly in your module file:
settings:
jvm:
mainClass: com.example.MyMain
joffrey
12/02/2024, 9:17 AM