license-gradle-plugin icon indicating copy to clipboard operation
license-gradle-plugin copied to clipboard

Changing license (copyright) on codebase but applying to ALL files?

Open alpizano opened this issue 4 years ago • 0 comments

Hi, I work at a company and we are using the awesome hierynomus plugin. So, we have a lot of code that was written a few years years ago with 2018 or 2019 copyrights.

I added a new class to one of our codebases today, with a 2020 copyright header, and of course, the licenseTest tasks failed as expected. Changing it back to 2019 passed.

I could update the LICENSE.txt file in our resources directory to update all the files to 2020 so it passes the check, but is this really the correct protocol? Do we really want to modify the headers of old files copyright with 2018 or 2019 dates to 2020 , even though they have not been touched?

Does the plugin have an ability/feature to only detect files that have recently been modified and leave the ones which have not been modified to be exempt of the rule check?

Whats the proper protocol for updating copyright headers at most software companies running Agile?

Thanks.

alpizano avatar Feb 19 '20 16:02 alpizano