@Deprecated
public interface VariantTransform
TransformSpec
instead.Modifier and Type | Method | Description |
---|---|---|
void |
artifactTransform(java.lang.Class<? extends ArtifactTransform> type) |
Deprecated.
Action to transform artifacts for this variant transform.
|
void |
artifactTransform(java.lang.Class<? extends ArtifactTransform> type,
Action<? super ActionConfiguration> configAction) |
Deprecated.
Action to transform artifacts for this variant transform, potentially supplying some configuration to inject into the transform.
|
AttributeContainer |
getFrom() |
Deprecated.
Attributes that match the variant that is consumed.
|
AttributeContainer |
getTo() |
Deprecated.
Attributes that match the variant that is produced.
|
AttributeContainer getFrom()
AttributeContainer getTo()
void artifactTransform(java.lang.Class<? extends ArtifactTransform> type)
An instance of the specified type is created for each file that is to be transformed. The class should provide a public zero-args constructor.
void artifactTransform(java.lang.Class<? extends ArtifactTransform> type, Action<? super ActionConfiguration> configAction)
An instance of the specified type is created for each file that is to be transformed. The class should provide a public constructor that accepts the provided configuration.