Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. task convertAutomaticModules(type: Exec) {
  2. commandLine "./jigsaw-legacy-libs.sh"
  3. }
  4.  
  5. task jlink(type: Exec) {
  6.  
  7. def javaHome = System.properties.'java.home'
  8.  
  9. commandLine "${javaHome}/bin/jlink",
  10. '--module-path', "$rootDir/jigsawed${File.pathSeparatorChar}$rootDir/modlibs${File.pathSeparatorChar}${javaHome}/jmods",
  11. '--strip-debug', '--no-header-files', '--no-man-pages', '--compress', '2',
  12. '--add-modules', "${moduleName}",
  13. '--launcher', "start=${moduleName}/${moduleLaunchPoint}",
  14. '--output', 'dist'
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement