forgeboot/config/repositories.gradle.kts
gewuyou c89f1f1737 build: Add Gitea Private Repository Support
- 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
2025-04-26 15:51:39 +08:00

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()
}