| Interface and Description |
|---|
| ExecOperationsProxy
Proxies the
ExecOperations service that was added in Gradle 6.0,
so that equivalent functionality can be provided in Gradle 4.0+ |
| Method and Description |
|---|
| ProjectOperations#bzip2Resource(Object file)
Creates resource that points to a bzip2 compressed file at the given path.
|
| ProjectOperations#create(Project project)
Creates a reference to ProjectOperations instance.
|
| ProjectOperations#exec(Action super ExecSpec> action)
Executes the specified external process.
|
| ProjectOperations#gzipResource(Object file)
Creates resource that points to a gzip compressed file at the given path.
|
| ProjectOperations#javaexec(Action super JavaExecSpec> action)
Executes the specified external java process.
|
| ProjectOperations#maybeCreateExtension(Project project)
Creates a
grolifant extension if it does not exist. |
| ProviderTools#atConfigurationTime()
Value that can be read safely at configuration time
|
| ProviderTools#environmentVariable(Object name, boolean configurationTimeSafety)
Creates a provider to an environmental variable.
|
| ProviderTools#flatMap(Provider Allow flatMap functionality for providers even before Gradle 5.0.
|
| ProviderTools#gradleProperty(Object name, boolean configurationTimeSafety)
Creates a provider to a project property.
|
| ProviderTools#orElse(Provider Allow orElse functionality prior to Gradle 5.6.
|
| ProviderTools#resolveProperty(Object name, boolean configurationTimeSafety)
Searches by Gradle property, then system property and finally by environment variable using the
PropertyResolver convention. |
| ProviderTools#resolveProperty(Object name, Object defaultValue, boolean configurationTimeSafety)
Searches by Gradle property, then system property and finally by environment variable using the
PropertyResolver convention. |
| ProviderTools#systemProperty(Object name, boolean configurationTimeSafety)
Creates a provider to a system property.
|
| TaskTools#ignoreEmptyDirectories(TaskInputs inputs, Object files)
This is similar to putting both a SkipWhenEmpty and a
org.gradle.api.tasks.IgnoreEmptyDirectories annotation on a property, but it deals with both
backwards and forward compatibility around Gradle 6.8. |
| TaskTools#named(String taskName, Action Configures a task, preferably in a lazy-manner.
|
| TaskTools#named(String taskName, Class Configures a task, preferably in a lazy-manner.
|
| TaskTools#register(String taskName, Class Configures a task in a lazy-manner.
|
| TaskTools#register(String taskName, Class Registers a task in a lazy-manner.
|
| TaskTools#register(String taskName, Class Registers a task in a lazy-manner.
|
| TaskTools#register(String taskName, Class Registers a task in a lazy-manner.
|