Package com.diffplug.gradle.spotless
Class SpotlessTask
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
com.diffplug.gradle.spotless.SpotlessTask
- All Implemented Interfaces:
Comparable<Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,Named,ExtensionAware,Task,org.gradle.util.Configurable<Task>
- Direct Known Subclasses:
SpotlessTaskImpl
@DisableCachingByDefault(because="abstract definition")
public abstract class SpotlessTask
extends DefaultTask
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Fileprotected Stringprotected org.gradle.api.provider.Provider<LineEnding.Policy> protected Fileprotected List<LintSuppression> protected StringStored so that the configuration cache can recreate the GitRatchetGradle state.protected FileCollectionFields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Provider<LineEnding.Policy> org.eclipse.jgit.lib.ObjectIdvoidsetEncoding(String encoding) voidsetLineEndingsPolicy(org.gradle.api.provider.Provider<LineEnding.Policy> lineEndingsPolicy) voidsetLintSuppressions(List<LintSuppression> lintSuppressions) voidsetSteps(List<FormatterStep> steps) voidvoidsetupRatchet(String ratchetFrom) Methods inherited from class org.gradle.api.DefaultTask
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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceMethods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.Task
doNotTrackState, notCompatibleWithConfigurationCache
-
Field Details
-
encoding
-
lineEndingsPolicy
-
ratchetFrom
Stored so that the configuration cache can recreate the GitRatchetGradle state. -
lintSuppressions
-
target
-
cleanDirectory
-
lintsDirectory
-
-
Constructor Details
-
SpotlessTask
public SpotlessTask()
-
-
Method Details
-
getEncoding
-
setEncoding
-
getLineEndingsPolicy
-
setLineEndingsPolicy
public void setLineEndingsPolicy(org.gradle.api.provider.Provider<LineEnding.Policy> lineEndingsPolicy) -
setupRatchet
-
getRatchetSha
-
setLintSuppressions
-
getLintSuppressions
-
getTarget
-
setTarget
-
getCleanDirectory
-
getLintsDirectory
-
getStepsInternalRoundtrip
-
getStepsInternalEquality
-
setSteps
-