We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you are submitting a bug, please include the following:
-DspotlessSetLicenseHeaderYearsFromGitHistory=true with maven spotless:apply
-DspotlessSetLicenseHeaderYearsFromGitHistory=true
<shell> <includes> <include>**/*.sh</include> </includes> <excludes> <exclude>**/node_modules/**</exclude> </excludes> <trimTrailingWhitespace/> <endWithNewline/> <licenseHeader> <content># (c)$YEAR XXX</content> <skipLinesMatching>^#!/.+?$</skipLinesMatching> <delimiter>[\n]|set</delimiter> </licenseHeader> </shell>
Given an existing file with
#!/bin/sh # (c) 2024 XXXX set -e
updating the file with the retroactive dates drops the shebang
# (c) 2000-2024 XXXX set -e
Gradle or Maven version maven
spotless version 2.43.0
operating system and version windows
copy-paste your full Spotless configuration block(s), and a link to a public git repo that reproduces the problem if possible
copy-paste the full content of any console errors emitted by gradlew spotless[Apply/Check] --stacktrace
gradlew spotless[Apply/Check] --stacktrace
If you're just submitting a feature request or question, no need for the above.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
If you are submitting a bug, please include the following:
-DspotlessSetLicenseHeaderYearsFromGitHistory=true
with maven spotless:applyGiven an existing file with
updating the file with the retroactive dates drops the shebang
Gradle or Maven version
maven
spotless version
2.43.0
operating system and version
windows
copy-paste your full Spotless configuration block(s), and a link to a public git repo that reproduces the problem if possible
copy-paste the full content of any console errors emitted by
gradlew spotless[Apply/Check] --stacktrace
If you're just submitting a feature request or question, no need for the above.
The text was updated successfully, but these errors were encountered: