]> source.dussan.org Git - sonarqube.git/commitdiff
[NO JIRA] rename private settings.gradle to private-settings.gradle
authorSteve Marion <unknown>
Fri, 17 Feb 2023 14:09:46 +0000 (15:09 +0100)
committersonartech <sonartech@sonarsource.com>
Fri, 17 Feb 2023 20:02:54 +0000 (20:02 +0000)
There can only be one settings.gradle file per project, this extra one is confusing intellij (thinking private is a root project) and block the usage of features such a dependency analysis on any private modules.

settings.gradle

index 1e6f6cd8eefa9cd50be8b9ed2804aaad670ed903..5421562cd924f4b53225a14c77b33a9541f1fc9a 100644 (file)
@@ -61,7 +61,7 @@ include 'ut-monitoring'
 ext.isCiServer = System.getenv().containsKey("CIRRUS_CI")
 
 // use Settings.getRootDir() so that it doesn't matter which directory you are executing from
-File extraSettings = new File(rootDir, 'private/settings.gradle')
+File extraSettings = new File(rootDir, 'private/private-settings.gradle')
 if (extraSettings.exists()) {
   apply from: extraSettings
 }