name.remal.fat-jar

This plugin works only if java plugin is applied.

The plugin applies these plugins:

 

This plugin makes jar task to produce fat-jar of dependencies in fatJar configuration. Also it creates fatJarSettings extension of type FatJarSettingsExtension to configure extraction.

 

name.remal.gradle_plugins.plugins.fatjar.FatJarSettingsExtension

Property Type Description
excludePatterns MutableSet<String> ANT like exclude patterns of resources from fat-jar dependencies.
excludeSpecs MutableList<Spec<FileTreeElement>> Exclude specs of resources from fat-jar dependencies.
Method Description
void exclude(String... excludes) Add ANT like exclude patterns of resources from fat-jar dependencies.
void exclude(Iterable<String> excludes) ANT like exclude patterns of resources from fat-jar dependencies.
void exclude(Spec<FileTreeElement> excludeSpec) Exclude spec of resources from fat-jar dependencies.