瀏覽代碼

Use gradlePluginPortal()

Rob Winch 3 年之前
父節點
當前提交
2b858f9371
共有 1 個文件被更改,包括 1 次插入10 次删除
  1. 1 10
      build.gradle

+ 1 - 10
build.gradle

@@ -7,16 +7,7 @@ buildscript {
 		classpath "com.netflix.nebula:nebula-project-plugin:8.2.0"
 	}
 	repositories {
-		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/' }
+		gradlePluginPortal()
 	}
 }