Create windows exe launcher from gradle

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

Guess this might arrive in the future as part of

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

Just to close the loop, I have put up a gradle plugin that uses launch4j here: