mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2026-10-16 21:21:33 +08:00
更新 Jenkins CI 服务器的发布模型 (#4559)
This commit is contained in:
+8
-1
@@ -21,7 +21,14 @@ subprojects {
|
||||
name = "libs"
|
||||
dirs = setOf(rootProject.file("lib"))
|
||||
}
|
||||
mavenCentral()
|
||||
|
||||
System.getenv("MAVEN_CENTRAL_REPO").let { repo ->
|
||||
if (repo.isNullOrBlank())
|
||||
mavenCentral()
|
||||
else
|
||||
maven(url = repo)
|
||||
}
|
||||
|
||||
maven(url = "https://jitpack.io")
|
||||
maven(url = "https://libraries.minecraft.net")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user