Package org.gradle.api.artifacts.transform
@NonNullApi
package org.gradle.api.artifacts.transform
Provides classes, interfaces and annotations for registering and implementing artifact transforms.
To register an artifact transform, use DependencyHandler.registerTransform(java.lang.Class, org.gradle.api.Action)
.
This allows you to register a TransformAction
using TransformSpec
.
If you want to create a new artifact transform action, have a look at TransformAction
.
-
ClassDescriptionAttaching this annotation to a
TransformAction
type it indicates that the build cache should be used for artifact transforms of this type.Attach this annotation to an abstract getter that should receive the input artifact for an artifact transform.Attach this annotation to an abstract getter that should receive the artifact dependencies of theInputArtifact
of an artifact transform.TransformAction<T extends TransformParameters>Interface for artifact transform actions.The outputs of the artifact transform.Marker interface for parameter objects toTransformAction
s.Used forTransformAction
s without parameters.TransformSpec<T extends TransformParameters>Base configuration for artifact transform registrations.An exception to report a problem during a transform execution.