badass-jlink-plugin
badass-jlink-plugin copied to clipboard
Different JVM arguments for different target platforms
Can I set different JVM arguments for different target platforms?
Do you mean target-platform-specific values for the jvmArgs defined in launcher
?
jlink {
launcher {
jvmArgs = [...]
....
}
...
}
There is currently no support for this. You can try to adjust the start scripts yourself after executing the jlink
task:
tasks.jlink.doLast {
// Put here your code that adjusts each start script with platform-specific JVM arguments
}
Do you mean target-platform-specific values for the jvmArgs defined in launcher?
Yes.
You can try to adjust the start scripts yourself after executing the jlink task
Thanks, I'll try.