mirrors.cloud.tencent

This commit is contained in:
Chuck1sn
2025-05-14 12:00:31 +08:00
parent 0647425e2a
commit db6584eb02
5 changed files with 11 additions and 15 deletions

View File

@@ -94,10 +94,10 @@
## ❗国服特色 ## ❗国服特色
本项目已将以下仓库自动替换为官方仓库,省却了用户自行配置的烦恼 本项目已将以下仓库自动替换为国内镜像仓库,省却了用户自行配置的烦恼
- npm 官方仓库 -> 阿里云镜像仓库 - npm 官方仓库 -> 腾讯云镜像仓库
- maven 官方仓库 -> 阿里云镜像仓库 - maven 官方仓库 -> 腾讯云镜像仓库
- gradle-wrapper 官方仓库 -> 阿里云镜像仓库 - gradle-wrapper 官方仓库 -> 腾讯云镜像仓库
- docker 官方仓库 -> 无法自动替换,需在本机指定 daemon.json 文件。 - docker 官方仓库 -> 无法自动替换,需在本机指定 daemon.json 文件。
## 🥒 自动化数据库管理 ## 🥒 自动化数据库管理

View File

@@ -78,7 +78,7 @@ dependencies {
} }
tasks.withType<BootJar> { tasks.withType<BootJar> {
archiveFileName.set("dbfirst.jar") archiveFileName.set("backend.jar")
} }
tasks.withType<Test> { tasks.withType<Test> {

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https://mirrors.aliyun.com/github/releases/gradle/gradle-distributions/v8.13.0/gradle-8.13-bin.zip distributionUrl=https://mirrors.cloud.tencent.com/gradle/gradle-8.13-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

View File

@@ -2,10 +2,8 @@ rootProject.name = "backend"
pluginManagement { pluginManagement {
repositories { repositories {
maven { url = uri("https://maven.aliyun.com/repository/central")} maven { url = uri("https://mirrors.cloud.tencent.com/nexus/repository/maven-public/") }
maven { url = uri("https://maven.aliyun.com/repository/public") } maven { url = uri("https://mirrors.cloud.tencent.com/nexus/repository/gradle-plugin/") }
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
maven { url = uri("https://maven.aliyun.com/repository/apache-snapshots") }
mavenCentral() mavenCentral()
gradlePluginPortal() gradlePluginPortal()
} }
@@ -13,10 +11,8 @@ pluginManagement {
dependencyResolutionManagement { dependencyResolutionManagement {
repositories { repositories {
maven { url = uri("https://maven.aliyun.com/repository/central")} maven { url = uri("https://mirrors.cloud.tencent.com/nexus/repository/maven-public/") }
maven { url = uri("https://maven.aliyun.com/repository/public") } maven { url = uri("https://mirrors.cloud.tencent.com/nexus/repository/apache-snapshots/") }
maven { url = uri("https://maven.aliyun.com/repository/apache-snapshots") }
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
mavenCentral() mavenCentral()
} }
} }

View File

@@ -1 +1 @@
registry=https://registry.npmmirror.com/ registry=http://mirrors.tencent.com/npm/