Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, Configurable<Task>
@CacheableTask public abstract class ValidatePlugins extends DefaultTask
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.Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
ValidatePlugins() |
Modifier and Type | Method | Description |
---|---|---|
abstract ConfigurableFileCollection |
getClasses() |
The classes to validate.
|
abstract ConfigurableFileCollection |
getClasspath() |
The classpath used to load the classes under validation.
|
protected abstract org.gradle.api.internal.DocumentationRegistry |
getDocumentationRegistry() |
|
abstract Property<Boolean> |
getEnableStricterValidation() |
Enable the stricter validation for cacheable tasks for all tasks.
|
abstract Property<Boolean> |
getFailOnWarning() |
Returns whether the build should break when the verifications performed by this task detects a warning.
|
abstract Property<Boolean> |
getIgnoreFailures() |
Specifies whether the build should break when plugin verifications fails.
|
abstract RegularFileProperty |
getOutputFile() |
Returns the output file to store the report in.
|
protected abstract WorkerExecutor |
getWorkerExecutor() |
|
void |
validateTaskClasses() |
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
public void validateTaskClasses() throws IOException
IOException
@InputFiles @SkipWhenEmpty @IgnoreEmptyDirectories @PathSensitive(RELATIVE) public abstract ConfigurableFileCollection getClasses()
@Classpath public abstract ConfigurableFileCollection getClasspath()
@Input public abstract Property<Boolean> getIgnoreFailures()
@Input public abstract Property<Boolean> getFailOnWarning()
@Input public abstract Property<Boolean> getEnableStricterValidation()
@OutputFile public abstract RegularFileProperty getOutputFile()
@Inject protected abstract org.gradle.api.internal.DocumentationRegistry getDocumentationRegistry()
@Inject protected abstract WorkerExecutor getWorkerExecutor()