Package com.diffplug.gradle.spotless
Class FreshMarkExtension
- java.lang.Object
-
- com.diffplug.gradle.spotless.FormatExtension
-
- com.diffplug.gradle.spotless.FreshMarkExtension
-
public class FreshMarkExtension extends FormatExtension
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.diffplug.gradle.spotless.FormatExtension
FormatExtension.BiomeGeneric, FormatExtension.ClangFormatConfig, FormatExtension.EclipseWtpConfig, FormatExtension.LicenseHeaderConfig, FormatExtension.NpmStepConfig<T extends FormatExtension.NpmStepConfig<?>>, FormatExtension.PrettierConfig, FormatExtension.RomeGeneric
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Action<java.util.Map<java.lang.String,java.lang.Object>>>
propertyActions
-
Fields inherited from class com.diffplug.gradle.spotless.FormatExtension
steps, target, targetExclude, targetExcludeContentPattern
-
-
Constructor Summary
Constructors Constructor Description FreshMarkExtension(SpotlessExtension spotless)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
properties(Action<java.util.Map<java.lang.String,java.lang.Object>> action)
void
propertiesFile(java.lang.Object... files)
protected void
setupTask(SpotlessTask task)
Sets up a format task according to the values in this extension.-
Methods inherited from class com.diffplug.gradle.spotless.FormatExtension
addStep, addStep, biome, biome, bumpThisNumberIfACustomStepChanges, clangFormat, clangFormat, clearSteps, createIndependentApplyTask, createIndependentApplyTaskLazy, custom, custom, eclipseWtp, eclipseWtp, encoding, endWithNewline, getEncoding, getExistingStepIdx, getLineEndings, getProject, getRatchetFrom, ignoreErrorForPath, ignoreErrorForStep, indentWithSpaces, indentWithSpaces, indentWithTabs, indentWithTabs, isLicenseHeaderStep, licenseHeader, licenseHeaderFile, nativeCmd, noDefaultTargetException, parseTarget, prettier, prettier, prettier, provisioner, ratchetFrom, replace, replaceRegex, replaceStep, rome, rome, setEncoding, setEncoding, setLineEndings, setRatchetFrom, target, targetExclude, targetExcludeIfContentContains, targetExcludeIfContentContainsRegex, toggleOffOn, toggleOffOn, toggleOffOnDisable, toggleOffOnRegex, trimTrailingWhitespace, withinBlocks, withinBlocks, withinBlocksRegex, withinBlocksRegex
-
-
-
-
Field Detail
-
propertyActions
public final java.util.List<Action<java.util.Map<java.lang.String,java.lang.Object>>> propertyActions
-
-
Constructor Detail
-
FreshMarkExtension
@Inject public FreshMarkExtension(SpotlessExtension spotless)
-
-
Method Detail
-
properties
public void properties(Action<java.util.Map<java.lang.String,java.lang.Object>> action)
-
propertiesFile
public void propertiesFile(java.lang.Object... files)
-
setupTask
protected void setupTask(SpotlessTask task)
Description copied from class:FormatExtension
Sets up a format task according to the values in this extension.- Overrides:
setupTask
in classFormatExtension
-
-