gradle
8.5

# TransformSpec

interface TransformSpec<T : TransformParameters?>(source)

Base configuration for artifact transform registrations.

#### Parameters

<T>

The transform specific parameter type.

#### See also

DependencyHandler

## Functions

getFrom
Link copied to clipboard
abstract fun getFrom(): AttributeContainer
Attributes that match the variant that is consumed.
getParameters
Link copied to clipboard
abstract fun getParameters(): T
The parameters for the transform action.
getTo
Link copied to clipboard
abstract fun getTo(): AttributeContainer
Attributes that match the variant that is produced.
parameters
Link copied to clipboard
abstract fun parameters(action: Action<out Any>)
Configure the parameters for the transform action.