Skip to content

Commit

Permalink
Enforce build reproducibility by fixing year in copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Brandhof authored and sonartech committed Jan 16, 2019
1 parent 6a653cd commit 2505fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions HEADER
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SonarQube
Copyright (C) 2009-${year} SonarSource SA
Copyright (C) 2009-2019 SonarSource SA
mailto:info AT sonarsource DOT com

This program is free software; you can redistribute it and/or
Expand All @@ -14,4 +14,4 @@ Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ subprojects {

license {
header = rootProject.file('HEADER')
ext.year = Calendar.getInstance().get(Calendar.YEAR)
strictCheck true
mapping {
java = 'SLASHSTAR_STYLE'
Expand Down

0 comments on commit 2505fcc

Please sign in to comment.