How can I pass jvmArgs to the JVM used as part of ...
# compose-desktop
r
How can I pass jvmArgs to the JVM used as part of the
desktopRun
gradle task? Here's what I've tried: 1. Adding
jvmArgs
to build.gradle.kts (under compose.desktop.application.jvmArgs) -> no effect at all when running via
desktopRun
2. Adding args to
VM Option
in the IntelliJ run configuration -> these get applied to Gradle -- the parent PID, but not to the app itself.
For any pour soul getting here from search, it appears that there are two seemingly identical tasks that run your app:
desktopRun
and
run
. Only
run
pulls in the JVM args from build.gradle.kts.