org.gradle.api.artifacts.transform (Gradle API 9.6.1)
Description: declaration: package: org.gradle.api.artifacts.transform

# Package org.gradle.api.artifacts.transform

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

- Related Packages
  Package
  Description
  org.gradle.api.artifacts
  Classes for declaring and using artifacts and artifact dependencies.
- Class
  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.
  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.
  TransformParameters.None
  Used for `TransformAction`s without parameters.
  TransformSpec<T extends TransformParameters>
  Base configuration for artifact transform registrations.