Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task convertAutomaticModules(type: Exec) {
- commandLine "./jigsaw-legacy-libs.sh"
- }
- task jlink(type: Exec) {
- def javaHome = System.properties.'java.home'
- commandLine "${javaHome}/bin/jlink",
- '--module-path', "$rootDir/jigsawed${File.pathSeparatorChar}$rootDir/modlibs${File.pathSeparatorChar}${javaHome}/jmods",
- '--strip-debug', '--no-header-files', '--no-man-pages', '--compress', '2',
- '--add-modules', "${moduleName}",
- '--launcher', "start=${moduleName}/${moduleLaunchPoint}",
- '--output', 'dist'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement