Create windows exe launcher from gradle


(crotwell) #1

I have to distribute a java application to non-computer people, and so need a simple clickable launch program as opposed to a startup script. Looking around it seems like launch4j or winrun4j might do this for windows. I will likely also need an installer builder like izpack or nsis.

Has anyone created a gradle plugin that might help with either of these window launchers? It seems like much of the information needed to create this is already in the build script, so it makes sense to build this from gradle. Likely a variation of the application plugin could create the input file that these tools need.

thanks Philip


(crotwell) #2

Guess this might arrive in the future as part of http://forums.gradle.org/gradle/topics/modeling_the_java_application_development_domain


(Benjamin Muschko) #3

If you consider using IzPack have a look at the Gradle plugin I wrote for it.


(crotwell) #4

Just to close the loop, I have put up a gradle plugin that uses launch4j here: http://code.google.com/p/gradle-launch4j/