diffplug / diffplug/spotless

Apply license header to `package-info.java` and `module-info.java`

Aperta
#532 11 commenti 6 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
5.6k
Fork
559
Merge medio
1g 13h
PR unite (30g)
34

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.