You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[question] Is there a way to skip licenseHeader for legacy files while keeping other formatters active? #2908
Spotless replaces all license headers in all files, including legacy files that should keep their original headers.
This causes two issues:
Legacy files lose their historical license information
If I exclude legacy files from licenseHeader, then other formatters (googleJavaFormat, eclipse, prettier, idea, tableTestFormatter, importOrder) will also stop applying to them
Expected Behavior
New files should receive the new license header
Legacy files should keep their existing headers, but still be formatted by other Spotless steps
Question
Is there a recommended way to configure Spotless so that:
Activity