更新 Jenkins CI 服务器的发布模型 (#4559)

This commit is contained in:
Glavo
2025-10-01 13:04:19 +08:00
committed by GitHub
parent 168c4ac708
commit 495da6b6b0
11 changed files with 207 additions and 25 deletions

View File

@@ -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")
}