aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-vsts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-vsts')
-rw-r--r--server/sonar-vsts/build.gradle11
-rw-r--r--server/sonar-vsts/config/autoprefixer.js4
-rw-r--r--server/sonar-vsts/config/jest/CSSStub.js2
-rw-r--r--server/sonar-vsts/config/jest/FileStub.js4
-rw-r--r--server/sonar-vsts/config/jest/SetupEnzyme.js4
-rw-r--r--server/sonar-vsts/config/jest/SetupTestEnvironment.js4
-rw-r--r--server/sonar-vsts/config/paths.js4
-rw-r--r--server/sonar-vsts/config/polyfills.js4
-rw-r--r--server/sonar-vsts/config/utils.js4
-rw-r--r--server/sonar-vsts/scripts/build.js4
-rw-r--r--server/sonar-vsts/scripts/start.js4
-rw-r--r--server/sonar-vsts/scripts/test.js4
12 files changed, 32 insertions, 21 deletions
diff --git a/server/sonar-vsts/build.gradle b/server/sonar-vsts/build.gradle
index 25cbc6ece8e..f5ce996e76a 100644
--- a/server/sonar-vsts/build.gradle
+++ b/server/sonar-vsts/build.gradle
@@ -32,3 +32,14 @@ yarn_run {
yarn_run.dependsOn ':server:sonar-web:yarn_run'
+def sources = fileTree(dir: "src") + fileTree(dir: "scripts") + fileTree(dir: "config")
+
+task licenseCheckWeb(type: com.hierynomus.gradle.license.tasks.LicenseCheck) {
+ source = sources
+}
+licenseMain.dependsOn licenseCheckWeb
+
+task licenseFormatWeb(type: com.hierynomus.gradle.license.tasks.LicenseFormat) {
+ source = sources
+}
+licenseFormat.dependsOn licenseFormatWeb
diff --git a/server/sonar-vsts/config/autoprefixer.js b/server/sonar-vsts/config/autoprefixer.js
index 211383fb035..a00043159b3 100644
--- a/server/sonar-vsts/config/autoprefixer.js
+++ b/server/sonar-vsts/config/autoprefixer.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/config/jest/CSSStub.js b/server/sonar-vsts/config/jest/CSSStub.js
index 91a4e0d8842..56d377e8faa 100644
--- a/server/sonar-vsts/config/jest/CSSStub.js
+++ b/server/sonar-vsts/config/jest/CSSStub.js
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2017 SonarSource SA
+ * Copyright (C) 2009-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-vsts/config/jest/FileStub.js b/server/sonar-vsts/config/jest/FileStub.js
index bff56dc8933..3a49ea256c6 100644
--- a/server/sonar-vsts/config/jest/FileStub.js
+++ b/server/sonar-vsts/config/jest/FileStub.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/config/jest/SetupEnzyme.js b/server/sonar-vsts/config/jest/SetupEnzyme.js
index ec2ff5f0561..7e42de4fbb0 100644
--- a/server/sonar-vsts/config/jest/SetupEnzyme.js
+++ b/server/sonar-vsts/config/jest/SetupEnzyme.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/config/jest/SetupTestEnvironment.js b/server/sonar-vsts/config/jest/SetupTestEnvironment.js
index 64c8d0c15aa..6bcffa083bc 100644
--- a/server/sonar-vsts/config/jest/SetupTestEnvironment.js
+++ b/server/sonar-vsts/config/jest/SetupTestEnvironment.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/config/paths.js b/server/sonar-vsts/config/paths.js
index 47a0c5c94a5..01b3d531022 100644
--- a/server/sonar-vsts/config/paths.js
+++ b/server/sonar-vsts/config/paths.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/config/polyfills.js b/server/sonar-vsts/config/polyfills.js
index fdb2b100715..38798ecd7bc 100644
--- a/server/sonar-vsts/config/polyfills.js
+++ b/server/sonar-vsts/config/polyfills.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/config/utils.js b/server/sonar-vsts/config/utils.js
index a772c04d6e4..afcd21f3133 100644
--- a/server/sonar-vsts/config/utils.js
+++ b/server/sonar-vsts/config/utils.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/scripts/build.js b/server/sonar-vsts/scripts/build.js
index 1bdb4c78d87..b238538cdc1 100644
--- a/server/sonar-vsts/scripts/build.js
+++ b/server/sonar-vsts/scripts/build.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/scripts/start.js b/server/sonar-vsts/scripts/start.js
index 75ad20c2b1b..d9fbc3cec09 100644
--- a/server/sonar-vsts/scripts/start.js
+++ b/server/sonar-vsts/scripts/start.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/server/sonar-vsts/scripts/test.js b/server/sonar-vsts/scripts/test.js
index 2b6156cd2c4..77a6010face 100644
--- a/server/sonar-vsts/scripts/test.js
+++ b/server/sonar-vsts/scripts/test.js
@@ -1,7 +1,7 @@
/*
* SonarQube
- * Copyright (C) 2009-2016 SonarSource SA
- * mailto:contact AT sonarsource DOT com
+ * Copyright (C) 2009-2018 SonarSource SA
+ * mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public