Browse Source

maven仓库调整

zhouy 5 years ago
parent
commit
1ad6d42905
1 changed files with 7 additions and 6 deletions
  1. 7 6
      build.gradle

+ 7 - 6
build.gradle

@@ -36,11 +36,12 @@ sourceCompatibility = 1.8
 
 repositories {
     mavenLocal()
-    maven { url "http://repo.spring.io/libs-milestone" }
-    maven { url "http://repo.spring.io/libs-release" }
-    maven { url "http://maven.ubtob.com/artifactory/libs-snapshot-local" }
-    maven { url "http://maven.ubtob.com/artifactory/libs-release-local" }
-    maven { url "http://maven.ubtob.com/artifactory/ext-release-local" }
+  /*  maven { url "http://repo.spring.io/libs-milestone" }
+    maven { url "http://repo.spring.io/libs-release" }*/
+    maven { url "https://artifactory.uuzcc.cn/artifactory/libs-snapshot-local" }
+    maven { url "http://10.10.100.21:8081/artifactory/libs-snapshot-local" }
+    maven { url "http://10.10.100.21:8081/artifactory/libs-release-local" }
+    maven { url "http://10.10.100.21:8081/artifactory/ext-release-local" }
     maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
     mavenCentral()
 }
@@ -78,7 +79,7 @@ docker {
 uploadArchives {
     repositories {
         mavenDeployer {
-            repository(url: "http://maven.ubtob.com/artifactory/libs-release-local") {
+            repository(url: "http://10.10.100.21:8081/artifactory/libs-release-local") {
                 authentication(userName: "yingp", password: "111111")
             }
         }