Manifest Resource Transformer
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.
Modified from org.apache.maven.plugins.shade.resource.ManifestResourceTransformer.java.
Author
Jason van Zyl
John Engelman
Properties
Link copied to clipboard
Link copied to clipboard
This is used for creating Gradle's lazy properties in the subclass, Shadow's build-in transformers that depend on this have been injected via ObjectFactory.newInstance. Custom transformers should implement or inject this property if they need to access it.