-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
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
License Header task can't find regex ^package
in module-info.java and fails
#270
Comments
For gradle we can fix here: spotless/plugin-gradle/src/main/java/com/diffplug/gradle/spotless/JavaExtension.java Lines 193 to 195 in bf3b57f
Not sure where to fix for maven... |
@nedtwigg Can you at mention the person who wrote the maven plugin to ask them? |
Hi @JLLeitschuh, PR #273 should solve this problem for maven by also skipping |
Both fixes are merged. I think refactoring into a shared constant is a good idea - makes it easier to do similar modifications in the future. I'll leave this issue open in case this refactor makes it to the top of anyone's todo list. I'll ship a release whenever somebody wants it, dunno if @JLLeitschuh has more Java 10 fixes inbound. |
Nope, nore more fixes inbound. Sorry for the long delay on reply, been busy. |
The spotless license task blows up when it hits a
module-info.java
fileSpotless version
3.10.0
.Not sure if I'm going to have time to fix this one myself.
The text was updated successfully, but these errors were encountered: