StarChart-Labs / flare-plugins

Gradle plug-ins with opinionated defaults to allow streamlined, consistent operations
MIT License
1 stars 0 forks source link

Add Automated Validation of Copyrights #61

Open romeara opened 4 years ago

romeara commented 4 years ago

Add automated validation that copyrights be present in all files. This requirement should be included in contributor documentation, and checks for it should be added to builds, including those run prior to accepting pull requests.

One way of automating this is the Checkstyle RegexpHeaderCheck Rule, with a header specification file such as:

/\*$
\W\* Copyright \(C\) \d\d\d\d StarChart-Labs@github.com Authors$