Package reloaction
Last updated
Last updated
To avoid classpath conflicts with other plugins using the same dependencies, dependencies should be relocated to a unique package. More information .
The following Gradle configuration relocates all dependencies using the shadow
plugin, that will be included in the jar file, to a new location:
Afterwards a jar file can be built by running the Gradle task shadowJar
.