gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.config / JosmPluginExtension / packIntoJarFileFilter

packIntoJarFileFilter

var packIntoJarFileFilter: (PatternFilterable) -> PatternFilterable

When packing the dependencies of the packIntoJar configuration into the distribution *.jar, this closure is applied to the file tree. If you want to exclude certain files in your dependencies into your release, you can modify this. By default the /META-INF/ directory of dependencies is discarded.

Default value: { it.exclude("META-INF/**/*") }

See Also

org.gradle.api.file.FileTree.matching

PatternFilterable

fun packIntoJarFileFilter(closure: Closure<PatternFilterable>): Unit

Set the packIntoJarFileFilter with a Groovy Closure