We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Groovy source code files are not officially supported by Spotless.
You therefore have to hack something together like the following:
format 'groovy', { target '**/*.groovy' indentWithTabs() trimTrailingWhitespace() endWithNewline() licenseHeaderFile rootProject.file('src/spotless/eclipse-public-license-1.0.java'), "package " customReplaceRegex 'class-level Javadoc indentation fix', /^\*/, ' *' customReplaceRegex 'nested Javadoc indentation fix', /\t\*/, '\t *' }
Without the custom regular expressions, Spotless will mangle Javadoc and license header comment blocks.
Status Quo
Groovy source code files are not officially supported by Spotless.
You therefore have to hack something together like the following:
Without the custom regular expressions, Spotless will mangle Javadoc and license header comment blocks.
Proposal