Apache License Resource Transformer
open class ApacheLicenseResourceTransformer @JvmOverloads constructor(patternSet: PatternSet = PatternSet()
.apply { isCaseSensitive = false }
.include(
LICENSE_PATH,
LICENSE_TXT_PATH,
LICENSE_MD_PATH,
)) : PatternFilterableResourceTransformer
Prevents duplicate copies of the license.
Modified from org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer.java.
Author
John Engelman
Constructors
Properties
Link copied to clipboard
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.
Link copied to clipboard