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() |
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, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConvention
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()