Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
@CacheableTask @Incubating public abstract class ValidatePlugins extends DefaultTask
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() |
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getRequiredServices, getServices, getSharedResources, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
public void validateTaskClasses() throws IOException
IOException
@PathSensitive(RELATIVE) @InputFiles @SkipWhenEmpty 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()