Wrapper
Generates scripts (for *nix and windows) which allow you to build your project with Gradle, without having to install Gradle.
When a user executes a wrapper script the first time, the script downloads and installs the appropriate Gradle distribution and runs the build against this downloaded distribution. Any installed Gradle distribution is ignored when using the wrapper scripts.
The scripts generated by this task are intended to be committed to your version control system. This task also generates a small gradle-wrapper.jar bootstrap JAR file and properties file which should also be committed to your VCS. The scripts delegate to this JAR.
Types
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Constructor arguments for the Task
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Adds the given closure to the beginning of this task's action list.
Adds the given Action to the beginning of this task's action list.
Link copied to clipboard
Adds the given closure to the end of this task's action list.
Adds the given Action to the end of this task's action list.
Link copied to clipboard
Do not track the state of the task.
Link copied to clipboard
Link copied to clipboard
Adds the given finalizer tasks for this task.
Link copied to clipboard
Returns the sequence of Action objects which will be executed by this task, in the order of execution.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The list of available gradle distribution types.
Link copied to clipboard
Returns the file to write the wrapper batch script to.
Link copied to clipboard
Returns the dependencies of this task.
Link copied to clipboard
Returns the destroyables of this task.
Link copied to clipboard
Checks if the task actually did any work.
Link copied to clipboard
The container of extensions.
Link copied to clipboard
Returns tasks that finalize this task.
Link copied to clipboard
Returns the gradle version for the wrapper.
Link copied to clipboard
Link copied to clipboard
Returns the file to write the wrapper jar file to.
Link copied to clipboard
Link copied to clipboard
Returns the local state of this task.
Link copied to clipboard
Returns the org.gradle.api.logging.LoggingManager which can be used to receive logging and to control the standard output/error capture for this task.
Link copied to clipboard
Returns tasks that this task must run after.
Link copied to clipboard
The network timeout specifies how many ms to wait for when the wrapper is performing network operations, such as downloading the wrapper jar.
Link copied to clipboard
Returns the outputs of this task.
Link copied to clipboard
Returns the Project which this task belongs to.
Link copied to clipboard
Returns the file to write the wrapper properties to.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The number of retries to attempt when downloading the Gradle distribution.
Link copied to clipboard
The initial back off in milliseconds to wait between download retries.
Link copied to clipboard
Returns the file to write the wrapper script to.
Link copied to clipboard
Link copied to clipboard
Returns tasks that this task should run after.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a TaskDependency which contains all the tasks that this task depends on.
Link copied to clipboard
Link copied to clipboard
Returns a directory which this task can use to write temporary files to.
Link copied to clipboard
Link copied to clipboard
Indicates if this task will validate the distribution url that has been configured.
Link copied to clipboard
Determines if this task has the given property.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Specifies that this task must run after all of the supplied tasks.
Link copied to clipboard
Specifies that this task is not compatible with the configuration cache.
Link copied to clipboard
Execute the task only if the given closure returns true.
Execute the task only if the given spec is satisfied.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the sequence of Action objects which will be executed by this task.
Link copied to clipboard
Sets the dependencies of this task.
Link copied to clipboard
Sets whether the task actually did any work.
Link copied to clipboard
Specifies the set of finalizer tasks for this task.
Link copied to clipboard
The version of the gradle distribution required by the wrapper.
Link copied to clipboard
The file to write the wrapper jar file to.
Link copied to clipboard
Specifies the set of tasks that this task must run after.
Link copied to clipboard
Execute the task only if the given closure returns true.
Execute the task only if the given spec is satisfied.
Link copied to clipboard
Sets a property of this task.
Link copied to clipboard
The file to write the wrapper script to.
Link copied to clipboard
Specifies the set of tasks that this task should run after.
Link copied to clipboard
Specifies that this task should run after all of the supplied tasks.
Link copied to clipboard
Registers a BuildService that is used by this task so its constraint on parallel execution can be honored.