Replies: 1 comment
-
You can do something like: spotless {
toggleOffOn(' * Contributors:\n', ' */\n')
// this might work better, it's more specific
toggleOffOn(' * Contributors:\n', ' */\n\n// SPDX-License-Identifier: Apache-2.0')
} This is the code in the Gradle plugin, maven has equivalents Only trouble is that you can't do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a project with special requirements for the license header: They want a section, where contributors are listed.
I've used spotless sofar to generate a license headers. However, it always replaces the list of contributors with the preset from the template. Is there a way to tell spotless that parts of the license header template should be ignored?
Current license header template:
Sample license header:
Beta Was this translation helpful? Give feedback.
All reactions