Skip to content

DSL support to --add-opens #61

@abrandimarti

Description

@abrandimarti

If I try

run {
    jvmArgs = [
            "--add-opens java.base/java.lang=com.google.guice"
    ]
}

I run into java options order problem:

java --add-opens java.base/java.lang=com.google.guice --module-path ....
.....
Unrecognized option: --add-opens java.base/java.lang=com.google.guice

Maybe the DSL could also support --add-opens.

For example

run {
    moduleOptions {
        addOpens = ['java.base/java.lang=com.google.guice']
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions