Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support applicationDefaultJvmArgs #765

Open
natros opened this issue Jul 3, 2023 · 1 comment
Open

Support applicationDefaultJvmArgs #765

natros opened this issue Jul 3, 2023 · 1 comment

Comments

@natros
Copy link

natros commented Jul 3, 2023

Feature description

The plugin does not support application.applicationDefaultJvmArgs

I'm using id("io.micronaut.application") version "3.7.10" with gradle 8.2

@JoshuaCWebDeveloper
Copy link

I was able to add JVM args to my application this way as an alternative to application.applicationDefaultJvmArgs:

tasks.withType(JavaExec.class).configureEach({ javaExec ->
    javaExec.jvmArgs(
        "-Djava.security.manager', '-Djava.security.policy=java.policy', '-Djava.security.debug=access,failure'"
    )
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants