beryx / badass-runtime-plugin

Create a custom runtime image of your non-modular application
https://badass-runtime-plugin.beryx.org
Apache License 2.0
161 stars 21 forks source link

Allow manual specification of main dist jar #107

Open rnett opened 2 years ago

rnett commented 2 years ago

Currently the main distribution jar used to look up module uses is hard coded in Util.getMainDistJarFile. I would like to be able to specify this, in particular to point to a proguarded jar.

This also leads to issues when using shadow, since the task will expect a *-all.jar without declaring a dependency on shadowJar to build it.

satsen commented 2 years ago

This is very important to have. There is a mainJar property in the jpackage block, but not in the runtime one.