Skip to content

Allow specifying jlink options per cross target #3

Description

@iherasymenko

DSL syntax TBC.

jlinkImages {
    linuxX64 {
        group = 'com.azul.cdn'
        jdkArchive = 'zulu21.30.15-ca-jdk21.0.1-linux_x64.zip'
    }
    linuxX64WithOverrides {
        group = 'com.azul.cdn'
        jdkArchive = 'zulu21.30.15-ca-jdk21.0.1-linux_x64.zip'
        options {
            launcher = ['cool-linux-launcher': 'jdk.jlink/jdk.tools.jimage.Main']
            addModules = ['jdk.jlink']
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions