Package-level declarations

Types

Link copied to clipboard

Prevents duplicate copies of the license.

Link copied to clipboard
open class ApacheNoticeResourceTransformer @Inject constructor(val objectFactory: ObjectFactory) : ResourceTransformer

Merges META-INF/NOTICE.TXT files.

Link copied to clipboard
open class AppendingTransformer @Inject constructor(val objectFactory: ObjectFactory) : ResourceTransformer

A resource processor that appends content for a resource, separated by a newline.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class CacheableTransformer

Marks that a given instance of ResourceTransformer is compatible with the Gradle build cache. In other words, it has its appropriate inputs annotated so that Gradle can consider them when determining the cache key.

Link copied to clipboard

A resource processor that aggregates plexus components.xml files.

Link copied to clipboard
open class DontIncludeResourceTransformer @Inject constructor(val objectFactory: ObjectFactory) : ResourceTransformer

A resource processor that prevents the inclusion of an arbitrary resource into the shaded JAR.

Link copied to clipboard

Aggregate Apache Groovy extension modules descriptors.

Link copied to clipboard
open class IncludeResourceTransformer @Inject constructor(val objectFactory: ObjectFactory) : ResourceTransformer

A resource processor that allows the addition of an arbitrary file content into the shaded JAR.

Link copied to clipboard
open class ManifestAppenderTransformer @Inject constructor(val objectFactory: ObjectFactory) : ResourceTransformer

A resource processor that can append arbitrary attributes to the first MANIFEST.MF that is found in the set of JARs being processed. The attributes are appended in the specified order, and duplicates are allowed.

Link copied to clipboard
open class ManifestResourceTransformer @Inject constructor(val objectFactory: ObjectFactory) : ResourceTransformer

A resource processor that allows the arbitrary addition of attributes to the first MANIFEST.MF that is found in the set of JARs being processed, or to a newly created manifest for the shaded JAR.

Link copied to clipboard
open class PropertiesFileTransformer @Inject constructor(val objectFactory: ObjectFactory) : ResourceTransformer

Resources transformer that merges Properties files.

Link copied to clipboard
open class ServiceFileTransformer(patternSet: PatternSet = PatternSet() .include(SERVICES_PATTERN) .exclude(PATH_LEGACY_GROOVY_EXTENSION_MODULE_DESCRIPTOR)) : ResourceTransformer, PatternFilterable

Resources transformer that appends entries in META-INF/services resources into a single resource. For example, if there are several META-INF/services/org.apache.maven.project.ProjectBuilder resources spread across many JARs the individual entries will all be concatenated into a single META-INF/services/org.apache.maven.project.ProjectBuilder resource packaged into the resultant JAR produced by the shading process.

Link copied to clipboard
data class TransformerContext @JvmOverloads constructor(val path: String, val inputStream: InputStream, val relocators: Set<Relocator> = emptySet())
Link copied to clipboard
open class XmlAppendingTransformer @Inject constructor(val objectFactory: ObjectFactory) : ResourceTransformer

Appends multiple occurrences of some XML file.