gradle-launch4j
gradle-launch4j copied to clipboard
Sample Scripts
This might be more of a nice idea for a wiki page, but I would really like a nice community dumping ground for working gradle build scripts utilizing launch4j. I definitely have one to contribute that I used for my master's thesis, but I'm looking to expand my knowledge of gradle and especially the usage of this plugin. Thanks, Alex
If you like we can add examples as subprojects to the source code or link to your repository. Also that should help in #42 .
I tried to setup a script to build a javafx 12 windows native program without luck. Means including javafx jmods and the jre. Any samples out there?
@solarisx I've got this with a project here (minus JavaFX jmods though): https://github.com/IdiosApps/gradedReaderBuilder/commit/6a212a68760b0ba6f418e68e80a32776e9e84655
Feel free to reference this @aaiezza @TheBoegl
I tried to setup a script to build a javafx 12 windows native program without luck. Means including javafx jmods and the jre. Any samples out there?
If I understand correctly, you can't actually bundle the JRE (in the .exe) - the following commands just point to a JRE and affect how it's used:
bundledJrePath = 'C:\\Program Files\\Java\\jdk-12.0.1'
bundledJre64Bit = true
more info at https://github.com/TheBoegl/gradle-launch4j/issues/64#issuecomment-347540288
I'm going to go for the following option myself - keeps the download lightweight, and links to a lightweight JRE if needed:
jreMinVersion = "12.0.1"
messagesJreVersionError = "Please install JDK12 from https://adoptopenjdk.net/releases.html?variant=openjdk12"