For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

WorkParameters

Marker interface for parameter objects to WorkActions.

Parameter types should be interfaces, only declaring getters for org.gradle.api.provider.Property-like objects. Example:

public interface MyParameters extends WorkParameters {
    Property<String> getStringParameter();
    ConfigurableFileCollection getFiles();
}

Since

5.6

Inheritors

Types

Link copied to clipboard
class None : NoneParameters, WorkParameters
Used for work actions without parameters.