Maven has the assembly plug-in, what's the gradle equivalent?


(binyan357) #1

We are migrating from ant/maven to gradle and are looking for how to build the directory image to feed to the installer. In maven we would use the assembly plug-in, but what should we do for gradle? Or are we reduced to rolling our own with copy specs and such?


(Peter Niederwieser) #2

Depending on your needs, you could use the Distribution Plugin, the Application Plugin, or the Java Library Distribution plugin. For details see the Gradle User Guide and the samples in the full Gradle distribution.