mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-27 20:02:08 +08:00
- Added support for Gitea private repository in repositories.gradle.kts - Configure the private repository address through the environment variable GEWUYOU_GITEA_HOST - Update build.gradle.kts, optimize project configuration structure - adjust publishing configuration, remove redundant code
33 lines
911 B
Plaintext
33 lines
911 B
Plaintext
// This file is used to define the repositories used by the project.
|
|
repositories {
|
|
mavenLocal()
|
|
val host = System.getenv("GEWUYOU_GITEA_HOST")
|
|
host?.let {
|
|
maven{
|
|
url = uri("http://${host}/api/packages/gewuyou/maven")
|
|
isAllowInsecureProtocol = true
|
|
}
|
|
}
|
|
maven {
|
|
url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev")
|
|
}
|
|
maven {
|
|
url = uri("https://raw.githubusercontent.com/eurotech/kura_addons/mvn-repo/")
|
|
}
|
|
maven {
|
|
url = uri("https://maven.aliyun.com/repository/public/")
|
|
}
|
|
maven {
|
|
url = uri("https://maven.aliyun.com/repository/spring/")
|
|
}
|
|
maven {
|
|
url = uri("https://maven.aliyun.com/repository/spring-plugin/")
|
|
}
|
|
maven {
|
|
url = uri("https://maven.aliyun.com/repository/gradle-plugin/")
|
|
}
|
|
mavenCentral()
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|