Skip to content

Commit

Permalink
skip existing headers in license check
Browse files Browse the repository at this point in the history
This prevents users from having to update every header whenever the year
changes.
  • Loading branch information
sjamesr committed Feb 7, 2021
1 parent 66840ce commit b7d3531
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ allprojects {
header rootProject.file('LICENSE.header')
ext.year = Calendar.getInstance().get(Calendar.YEAR)
strictCheck true
skipExistingHeaders true

mapping {
// Without this, the plugin adds javadoc-style comments to the top
Expand Down

0 comments on commit b7d3531

Please sign in to comment.