aboutsummaryrefslogtreecommitdiffstats
path: root/settings.gradle
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-03-18 22:13:43 +0100
committerSonarTech <sonartech@sonarsource.com>2018-03-22 12:37:47 +0100
commit0a9d9db7f85e7d45b4ffa319d262231f311641f9 (patch)
treeadb10e40de4c3ae338ee2c29f10c9caf8cb821c9 /settings.gradle
parent73e39a73e70b97ab0043cf5abc4eddcf68f2ce00 (diff)
downloadsonarqube-0a9d9db7f85e7d45b4ffa319d262231f311641f9.tar.gz
sonarqube-0a9d9db7f85e7d45b4ffa319d262231f311641f9.zip
Single Gradle build for SQ and core plugins
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle8
1 files changed, 7 insertions, 1 deletions
diff --git a/settings.gradle b/settings.gradle
index 0009ccb1366..49f30309a16 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,4 +1,4 @@
-rootProject.name = 'sonarqube'
+rootProject.name = 'sonar-enterprise'
include 'plugins:sonar-xoo-plugin'
@@ -59,3 +59,9 @@ include 'tests:plugins:ui-extensions-plugin'
include 'tests:plugins:wait-at-platform-level4-plugin'
include 'tests:plugins:ws-plugin'
include 'tests'
+
+// use Settings.getRootDir() so that it doesn't matter which directory you are executing from
+File extraSettings = new File(rootDir, 'private/settings.gradle')
+if (extraSettings.exists()) {
+ apply from: extraSettings
+}