Apply license header to `package-info.java` and `module-info.java`
Offen
enhancement
- Vorherrschende Sprache
- Java
- Sterne
- 5.6k
- Forks
- 559
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 34
Beschreibung
We added spotless with the Google Java style:
spotless {
java {
googleJavaFormat("1.7")
licenseHeaderFile "${project.rootDir}/company.license.java"
}
}
and it formatted all code...but left all the **package-info.java** classes untouched when we run spotlessJavaApply
is that expected behaviour or a bug? How can we force the format to include those files as well?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.