@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`.

- Interface Summary
  Interface | Description
  --- | ---
  TransformAction<T extends TransformParameters> | Interface for artifact transform actions.
  TransformOutputs | The outputs of the artifact transform.
  TransformParameters | Marker interface for parameter objects to `TransformAction`s.
  TransformSpec<T extends TransformParameters> | Base configuration for artifact transform registrations.
  VariantTransform | Deprecated. Use `TransformSpec` instead.

- Class Summary
  Class | Description
  --- | ---
  ArtifactTransform | Deprecated. Use `TransformAction` instead.
  TransformParameters.None | Used for `TransformAction`s without parameters.

- Exception Summary
  Exception | Description
  --- | ---
  ArtifactTransformException | Deprecated.
  VariantTransformConfigurationException | An exception to report a problem during transformation execution.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  CacheableTransform | Attaching this annotation to a `TransformAction` type it indicates that the build cache should be used for artifact transforms of this type.
  InputArtifact | Attach this annotation to an abstract getter that should receive the input artifact for an artifact transform.
  InputArtifactDependencies | Attach this annotation to an abstract getter that should receive the artifact dependencies of the `InputArtifact` of an artifact transform.