@Incubating @CacheableTask open class ValidateTaskProperties : ConventionTask, VerificationTask
Validates task property annotations.
Task properties must be annotated with one of:
Since
3.0
ValidateTaskProperties()
Validates task property annotations. Task properties must be annotated with one of:
|
open fun getClasses(): FileCollection
The classes to validate. |
|
open fun getClasspath(): FileCollection
The classpath used to load the classes under validation. |
|
open fun getFailOnWarning(): Boolean
Returns whether the build should break when the verifications performed by this task detects a warning. |
|
open fun getIgnoreFailures(): Boolean
{@inheritDoc} |
|
open fun getOutputFile(): RegularFileProperty
Returns the output file to store the report in. |
|
open fun setClasses(classes: FileCollection): Unit
Sets the classes to validate. |
|
open fun setClasspath(classpath: FileCollection): Unit
Sets the classpath used to load the classes under validation. |
|
open fun setFailOnWarning(failOnWarning: Boolean): Unit
Specifies whether the build should break when the verifications performed by this task detects a warning. |
|
open fun setIgnoreFailures(ignoreFailures: Boolean): Unit
{@inheritDoc} |
|
open fun validateTaskClasses(): Unit |