public class KotlinGradleExtension extends FormatExtension
steps, target| Constructor and Description |
|---|
KotlinGradleExtension(SpotlessExtension rootExtension) |
| Modifier and Type | Method and Description |
|---|---|
void |
ktlint() |
void |
ktlint(String version)
Adds the specified version of ktlint.
|
protected void |
setupTask(SpotlessTask task)
Sets up a format task according to the values in this extension.
|
addStep, bumpThisNumberIfACustomStepChanges, clearSteps, custom, custom, customLazy, customLazyGroovy, encoding, endWithNewline, getEncoding, getExistingStep, getLineEndings, getProject, ignoreErrorForPath, ignoreErrorForStep, indentWithSpaces, indentWithSpaces, indentWithTabs, indentWithTabs, licenseHeader, licenseHeaderFile, paddedCell, paddedCell, parseTarget, replace, replaceRegex, replaceStep, setEncoding, setEncoding, setLineEndings, target, trimTrailingWhitespacepublic KotlinGradleExtension(SpotlessExtension rootExtension)
public void ktlint()
protected void setupTask(SpotlessTask task)
FormatExtensionSets up a format task according to the values in this extension.
setupTask in class FormatExtension