| 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+ |
| ProjectOperations
Provides various operations which typically would require the Project or
ProjectLayout instances to resolve.
|
| WorkerAppParameterFactory
Creates a worker parameter POJO and optional configures it from execution specifications.
|
| WorkerExecSpec
Describes the necessary information that might be needed to run a JVM process inside a worker.
|
| Class and Description |
|---|
| StandardWorkerAppParameterFactory
Standard parameters for running a JVM process inside a worker.
|
| Method and Description |
|---|
| AbstractJvmExecSpec#submitToWorkQueue(WorkerIsolation isolationMode, WorkerExecutor worker, WorkerAppExecutorFactory workerAppExecutorFactory, WorkerAppParameterFactory parameterFactory)
Submits this to a worker queue using an appropriate isolation mode.
|
| CombinedProjectTaskExtensionBase#getProjectOperations()
ProjectOperations instance that the extension can use.
|
| ConfigCacheSafeOperations#from(ProjectOperations po)
Creates an instance from an existing ProjectOperations reference.
|
| ConfigCacheSafeOperations#from(Provider Creates an instance from a provider to a ProjectOperations reference.
|
| ConfigurationPhaseOperations#buildDirDescendant(Object stringy)
Safely resolve the stringy item as a path relative to the build directory.
|
| ConfigurationPhaseOperations#bzip2Resource(Object file)
Creates a resource that points to a bzip2 compressed file at the given path.
|
| ConfigurationPhaseOperations#copySpec()
Creates an empty CopySpec.
|
| ConfigurationPhaseOperations#copySpec(Action super CopySpec> action)
Creates a CopySpec which can later be used to copy files or create an archive.
|
| ConfigurationPhaseOperations#delete(Action super DeleteSpec> action)
Deletes the specified files.
|
| ConfigurationPhaseOperations#environmentVariable(Object name)
Creates a provider to an environmental variable.
|
| ConfigurationPhaseOperations#environmentVariable(Object name, boolean configurationTimeSafety)
Creates a provider to an environmental variable.
|
| ConfigurationPhaseOperations#exec(Action super ExecSpec> action)
Executes the specified external process.
|
| ConfigurationPhaseOperations#fileTree(Object base)
Creates a new ConfigurableFileTree.
|
| ConfigurationPhaseOperations#getBuildDir()
Provider for the build directory.
|
| ConfigurationPhaseOperations#getConfigurations()
Tools to deal with Gradle configurations.
|
| ConfigurationPhaseOperations#getConsoleOutput()
Console output mode
|
| ConfigurationPhaseOperations#getFsOperations()
Returns an object instance for filesystem operations that deals coprrectly with the functionality of the
curretn Gradle version.
|
| ConfigurationPhaseOperations#getFullProjectPath()
Get the full project path including the root project name in case of a multi-project.
|
| ConfigurationPhaseOperations#getGradleHomeDir()
Gradle distribution home directory.
|
| ConfigurationPhaseOperations#getGradleLogLevel()
Get the minimum log level for Gradle.
|
| ConfigurationPhaseOperations#getGradleUserHomeDir()
Gradle user home directory.
|
| ConfigurationPhaseOperations#getGroupProvider()
Lazy-evaluated project group.
|
| ConfigurationPhaseOperations#getJvmTools()
Tools for dealing for JVM/Java operations.
|
| ConfigurationPhaseOperations#getProblemReporter()
Access to the problem reporter.
|
| ConfigurationPhaseOperations#getProjectCacheDir()
Returns the project cache directory for the given project.
|
| ConfigurationPhaseOperations#getProjectDir()
Returns the project directory.
|
| ConfigurationPhaseOperations#getProjectName()
The project name
|
| ConfigurationPhaseOperations#getProjectPath()
Get project path.
|
| ConfigurationPhaseOperations#getProjectRootDir()
Returns the root directory of the project.
|
| ConfigurationPhaseOperations#getProjectTools()
Tools to deal with project & configuration specifics down to Gradle 4.0.
|
| ConfigurationPhaseOperations#getProviderTools()
Tools to deal with provider down to Gradle 4.0.
|
| ConfigurationPhaseOperations#getProviders()
A reference to the provider factory.
|
| ConfigurationPhaseOperations#getRepositoryTools()
Tools for dealing with repositories.
|
| ConfigurationPhaseOperations#getStringTools()
Tools for dealing with conversions of various objects into string or lists of strings.
|
| ConfigurationPhaseOperations#getTasks()
Utilities for working with tasks in a consistent manner across Gradle versions.
|
| ConfigurationPhaseOperations#gradleProperty(Object name)
Creates a provider to a project property.
|
| ConfigurationPhaseOperations#gradleProperty(Object name, boolean configurationTimeSafety)
Creates a provider to a project property.
|
| ConfigurationPhaseOperations#gzipResource(Object file)
Creates resource that points to a gzip compressed file at the given path.
|
| ConfigurationPhaseOperations#isConfigurationCacheEnabled()
Whether configuration cache is enabled for a build.
|
| ConfigurationPhaseOperations#isOffline()
Whether Gradle is operating in offline mode.
|
| ConfigurationPhaseOperations#isRefreshDependencies()
Whether dependencies should be refreshed.
|
| ConfigurationPhaseOperations#isRerunTasks()
Whether tasks should be re-ruin
|
| ConfigurationPhaseOperations#isRoot()
Whether current project is the root project.
|
| ConfigurationPhaseOperations#javaexec(Action super JavaExecSpec> action)
Executes the specified external java process.
|
| ConfigurationPhaseOperations#provider(Callable extends T> var1)
Returns a provider.
|
| ConfigurationPhaseOperations#resolveProperty(Object name, boolean configurationTimeSafety)
Searches by Gradle property, then system property and finally by environment variable using the
PropertyResolver convention. |
| ConfigurationPhaseOperations#resolveProperty(Object name, Object defaultValue, boolean configurationTimeSafety)
Searches by Gradle property, then system property and finally by environment variable using the
PropertyResolver convention. |
| ConfigurationPhaseOperations#systemProperty(Object name)
Creates a provider to a system property.
|
| ConfigurationPhaseOperations#systemProperty(Object name, boolean configurationTimeSafety)
Creates a provider to a system property.
|
| ConfigurationPhaseOperations#tarTree(Object tarPath)
Returns a TAR tree presentation
|
| ConfigurationPhaseOperations#zipTree(Object zipPath)
Returns a ZIP tree presentation
|
| JvmAppRunnerSpec#submitToWorkQueue(WorkerIsolation isolationMode, WorkerExecutor worker, WorkerAppExecutorFactory workerAppExecutorFactory, WorkerAppParameterFactory parameterFactory)
Submits this to a worker queue using an appropriate isolation mode.
|
| ProjectOperations#bzip2Resource(Object file)
Creates resource that points to a bzip2 compressed file at the given path.
|
| ProjectOperations#copySpec()
Creates an empty CopySpec.
|
| ProjectOperations#create(Project project)
Creates a reference to ProjectOperations instance.
|
| ProjectOperations#exec(Action super ExecSpec> action)
Executes the specified external process.
|
| ProjectOperations#fileTree(Object base)
Creates a new ConfigurableFileTree.
|
| ProjectOperations#getConsoleOutput()
Console output mode
|
| ProjectOperations#getFullProjectPath()
Get the full project path including the root project name in case of a multi-project.
|
| ProjectOperations#gradleProperty(Object name, boolean configurationTimeSafety)
Creates a provider to a project property.
|
| ProjectOperations#gzipResource(Object file)
Creates resource that points to a gzip compressed file at the given path.
|
| ProjectOperations#isRefreshDependencies()
Whether dependencies should be refreshed.
|
| ProjectOperations#isRerunTasks()
Whether tasks should be re-ruin
|
| 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. |
| ProjectOperations#provider(Callable extends T> var1)
Returns a provider.
|
| ProjectOperations#systemProperty(Object name, boolean configurationTimeSafety)
Creates a provider to a system property.
|
| PropertyResolveOrder#resolve(ProjectOperations po, String name, boolean configurationTimeSafe)
A provider to a property.
|
| PropertyResolveOrder#resolve(ConfigCacheSafeOperations po, String name, boolean configurationTimeSafe)
A provider to a property.
|
| PropertyResolver#provide(String name, String defaultValue, PropertyResolveOrder order, boolean atConfigurationTime)
Gets a provider to a property using a specific resolve order.
|
| 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#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.
|
| Constructor and Description |
|---|
| AbstractBaseToolExtension#AbstractBaseToolExtension(ProjectOperations projectOperations)
Attach this extension to a project
|
| AbstractBaseToolExtension#AbstractBaseToolExtension(Task task, ProjectOperations projectOperations, T projectExtension)
Attach this extension to a task
|
| AbstractJvmScriptExecSpec#AbstractJvmScriptExecSpec(ProjectOperations po, ScriptDefinition customScriptDefinition)
Use a custom script definition.
|
| AbstractToolExtension#AbstractToolExtension(ProjectOperations projectOperations)
Attach this extension to a project
|
| AbstractToolExtension#AbstractToolExtension(Project projectOperations)
Attach this extension to a project
|
| AbstractToolExtension#AbstractToolExtension(Task task, ProjectOperations projectOperations, T projectExtension)
Attach this extension to a task
|
| CombinedProjectTaskExtensionBase#CombinedProjectTaskExtensionBase(ProjectOperations projectOperations)
Attach this extension to a project
|
| CombinedProjectTaskExtensionBase#CombinedProjectTaskExtensionBase(Task task, ProjectOperations projectOperations, T projectExtension)
Attach this extension to a task
|
| PropertyResolver#PropertyResolver(ProjectOperations projectOperations)
Creates a property resolver with a custom resolve order
|