Closed jpschewe closed 1 year ago
You can simply set an empty copyConfigurable
to avoid copying anything into the lib folder or, as in your case, add the configuration you want there.
Can you provide an example of that? I'm not familiar enough with custom gradle code to find what you are referencing here. Note that I'm not worried about what is copied on the filesystem, that works fine. I'm worried about the structure of the generated XML.
According to https://launch4j.sourceforge.net/docs.html the
jar
tag isn't required. I would like the ability to specify a configuration without thejar
tag in the created XML file. In my case I don't create a jar for my application, but rather include the class files and the dependent jar files in my executable directory. To work around this issue I've been specifying thejar
attribute pointing to one of my libraries. Now I've created a dummy jar task to return one of the dependent libraries. However it would be nice to not need to do that.Example build.gradle file here.