gradle
8.5

# TransformParameters

interface TransformParameters(source)

Marker interface for parameter objects to TransformActions.

Parameter types should be interfaces, only declaring getters for org.gradle.api.provider.Property-like objects. All getters must be annotated with an input annotation like org.gradle.api.tasks.Input or org.gradle.api.tasks.InputFiles. Normalization annotations such as org.gradle.api.tasks.PathSensitive or org.gradle.api.tasks.Classpath can be used as well. See the table of incremental build property type annotations for all annotations which can be used. Example:

    public interface MyParameters extends TransformParameters {
        @Input
        Property<String> getStringParameter();
        @InputFiles
        ConfigurableFileCollection getInputFiles();
    }

Content copied to clipboard

#### Inheritors

None

## Types

None
Link copied to clipboard
class None : TransformParameters
Used for TransformActions without parameters.