Răsfoiți Sursa

Password for plugins

Rob Winch 3 ani în urmă
părinte
comite
5606fd5004
1 a modificat fișierele cu 9 adăugiri și 1 ștergeri
  1. 9 1
      build.gradle

+ 9 - 1
build.gradle

@@ -7,7 +7,15 @@ buildscript {
 		classpath "com.netflix.nebula:nebula-project-plugin:8.2.0"
 	}
 	repositories {
-		maven { url 'https://repo.spring.io/plugins-snapshot' }
+		maven {
+			url 'https://repo.spring.io/plugins-release'
+			if (project.hasProperty('artifactoryUsername')) {
+				credentials {
+					username = project.artifactoryUsername
+					password = project.artifactoryPassword
+				}
+			}
+		}
 		maven { url 'https://plugins.gradle.org/m2/' }
 	}
 }