aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-01-09 16:32:17 +0100
committersonartech <sonartech@sonarsource.com>2019-01-16 09:42:58 +0100
commit2505fcc145e83f53047319644bcd2aa948e9ff9c (patch)
tree55c2594f0aad8814c8bd18348a0d059b44d7f281
parent6a653cd1091bb549fc5043b3066b7bfb45da2883 (diff)
downloadsonarqube-2505fcc145e83f53047319644bcd2aa948e9ff9c.tar.gz
sonarqube-2505fcc145e83f53047319644bcd2aa948e9ff9c.zip
Enforce build reproducibility by fixing year in copyright headers
-rw-r--r--HEADER4
-rw-r--r--build.gradle1
2 files changed, 2 insertions, 3 deletions
diff --git a/HEADER b/HEADER
index 6ad8cb3c0d3..2de93e50541 100644
--- a/HEADER
+++ b/HEADER
@@ -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
@@ -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. \ No newline at end of file
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
diff --git a/build.gradle b/build.gradle
index 4a77204c672..2435486fce3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -341,7 +341,6 @@ subprojects {
license {
header = rootProject.file('HEADER')
- ext.year = Calendar.getInstance().get(Calendar.YEAR)
strictCheck true
mapping {
java = 'SLASHSTAR_STYLE'