toggle menu
gradle
8.11.1
API
switch theme
search in API
gradle
/
org.gradle.api.artifacts.transform
/
TransformSpec
Transform
Spec
API
interface
TransformSpec
<
T
:
TransformParameters
?
>
(
source
)
Base configuration for artifact transform registrations.
Since
5.3
Parameters
<T>
The transform specific parameter type.
See also
Dependency
Handler
Members
Functions
get
From
Link copied to clipboard
API
abstract
fun
getFrom
(
)
:
AttributeContainer
Attributes that match the variant that is consumed.
get
Parameters
Link copied to clipboard
API
abstract
fun
getParameters
(
)
:
T
The parameters for the transform action.
get
To
Link copied to clipboard
API
abstract
fun
getTo
(
)
:
AttributeContainer
Attributes that match the variant that is produced.
parameters
Link copied to clipboard
API
abstract
fun
parameters
(
action
:
Action
<
in
T
>
)
Configure the parameters for the transform action.