Browse Source

使用项目公共仓库

johnclot69 3 months ago
parent
commit
55df3b9c9b
2 changed files with 6 additions and 6 deletions
  1. 3 3
      incubator-center/build.gradle
  2. 3 3
      incubator-game/build.gradle

+ 3 - 3
incubator-center/build.gradle

@@ -7,9 +7,9 @@ plugins {
 group = 'com.incubator.center'
 group = 'com.incubator.center'
 version = '1.0-SNAPSHOT'
 version = '1.0-SNAPSHOT'
 
 
-repositories {
+//repositories {
-    mavenCentral()  // 使用中央仓库
+//    mavenCentral()  // 使用中央仓库
-}
+//}
 
 
 application {
 application {
     // 使用新的方法设置主类,适应 Gradle 7.0 及以上版本
     // 使用新的方法设置主类,适应 Gradle 7.0 及以上版本

+ 3 - 3
incubator-game/build.gradle

@@ -7,9 +7,9 @@ plugins {
 group = 'com.incubator.game'
 group = 'com.incubator.game'
 version = '1.0-SNAPSHOT'
 version = '1.0-SNAPSHOT'
 
 
-repositories {
+//repositories {
-    mavenCentral()
+//    mavenCentral()
-}
+//}
 
 
 sourceSets {
 sourceSets {
     main {
     main {