]> source.dussan.org Git - sonarqube.git/commitdiff
Use maven public repo
authorJacek Poreda <jacek.poreda@sonarsource.com>
Mon, 29 Jan 2024 15:09:53 +0000 (16:09 +0100)
committerJacek Poreda <jacek.poreda@sonarsource.com>
Mon, 29 Jan 2024 15:09:53 +0000 (16:09 +0100)
build.gradle

index 3eff98ce6e2862bc0f6947025869ad4861ed6f60..d2c3abe5e6f7cfbce1c2d9f3740bbf1624be925c 100644 (file)
@@ -98,9 +98,12 @@ allprojects {
           }
           url "${artifactoryUrl}/${repository}"
         } else {
-          url 'https://repo1.maven.org/maven2'
+          url 'https://jitpack.io'
         }
     }
+    if (!artifactoryPassword) {
+      mavenCentral()
+    }
     ivy {
           if (artifactoryUsername && artifactoryPassword) {
               url "${artifactoryUrl}/sonarsource-bucket"