Validate Plugins
Validates plugins by checking property annotations on work items like tasks and artifact transforms. This task should be used in Gradle plugin projects for doing static analysis on the plugin classes. The java-gradle-plugin adds a validatePlugins task, though if you cannot use this plugin then you need to register the task yourself. See the user guide for more information on incremental build and caching task outputs.
Since
6.0
Properties
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 classes to validate.
Link copied to clipboard
The classpath used to load the classes under validation.
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
Enable the stricter validation for cacheable tasks for all tasks.
Link copied to clipboard
The container of extensions.
Link copied to clipboard
Returns whether the build should break when the verifications performed by this task detects a warning.
Link copied to clipboard
Returns tasks that finalize this task.
Link copied to clipboard
Link copied to clipboard
Specifies whether the build should break when plugin verifications fails.
Link copied to clipboard
The toolchain launcher used to execute workers when forking.
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
Returns the output file to store the report in.
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
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
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
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.
Link copied to clipboard