| Modifier and Type | Method and Description |
|---|---|
static JarBuilder.DuplicateHandler |
JarBuilder.DuplicateHandler.always(JarBuilder.DuplicateAction action)
Creates a handler that always applies the given
action. |
static JarBuilder.DuplicateHandler |
JarBuilder.DuplicateHandler.skipDuplicatesConcatWellKnownMetadata()
Creates a handler that merges well-known mergeable resources and otherwise skips duplicates.
|
| Modifier and Type | Method and Description |
|---|---|
File |
JarBuilder.write(boolean compress,
JarBuilder.DuplicateHandler duplicateHandler,
Iterable<Pattern> skipPatterns)
Creates a jar at the configured target path applying the scheduled additions per the given
duplicateHandler. |
File |
JarBuilder.write(boolean compress,
JarBuilder.DuplicateHandler duplicateHandler,
Pattern... skipPatterns)
Creates a jar at the configured target path applying the scheduled additions per the given
duplicateHandler. |