Types

Link copied to clipboard

This also implements ResourceTransformer but no-op, which means it could be used by Kotlin delegations.

Properties

Link copied to clipboard
@get:Internal
open val objectFactory: ObjectFactory

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.

Functions

Link copied to clipboard
abstract fun canTransformResource(element: FileTreeElement): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun modifyOutputStream(os: ZipOutputStream, preserveFileTimestamps: Boolean)
Link copied to clipboard
abstract fun transform(context: TransformerContext)