mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-13 21:27:19 +08:00
mirrors.cloud.tencent
This commit is contained in:
@@ -94,10 +94,10 @@
|
||||
|
||||
## ❗国服特色
|
||||
|
||||
本项目已将以下仓库自动替换为官方仓库,省却了用户自行配置的烦恼
|
||||
- npm 官方仓库 -> 阿里云镜像仓库
|
||||
- maven 官方仓库 -> 阿里云镜像仓库
|
||||
- gradle-wrapper 官方仓库 -> 阿里云镜像仓库
|
||||
本项目已将以下仓库自动替换为国内镜像仓库,省却了用户自行配置的烦恼
|
||||
- npm 官方仓库 -> 腾讯云镜像仓库
|
||||
- maven 官方仓库 -> 腾讯云镜像仓库
|
||||
- gradle-wrapper 官方仓库 -> 腾讯云镜像仓库
|
||||
- docker 官方仓库 -> 无法自动替换,需在本机指定 daemon.json 文件。
|
||||
|
||||
## 🥒 自动化数据库管理
|
||||
|
||||
@@ -78,7 +78,7 @@ dependencies {
|
||||
}
|
||||
|
||||
tasks.withType<BootJar> {
|
||||
archiveFileName.set("dbfirst.jar")
|
||||
archiveFileName.set("backend.jar")
|
||||
}
|
||||
|
||||
tasks.withType<Test> {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
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
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -2,10 +2,8 @@ rootProject.name = "backend"
|
||||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
maven { url = uri("https://maven.aliyun.com/repository/central")}
|
||||
maven { url = uri("https://maven.aliyun.com/repository/public") }
|
||||
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
|
||||
maven { url = uri("https://maven.aliyun.com/repository/apache-snapshots") }
|
||||
maven { url = uri("https://mirrors.cloud.tencent.com/nexus/repository/maven-public/") }
|
||||
maven { url = uri("https://mirrors.cloud.tencent.com/nexus/repository/gradle-plugin/") }
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
@@ -13,10 +11,8 @@ pluginManagement {
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositories {
|
||||
maven { url = uri("https://maven.aliyun.com/repository/central")}
|
||||
maven { url = uri("https://maven.aliyun.com/repository/public") }
|
||||
maven { url = uri("https://maven.aliyun.com/repository/apache-snapshots") }
|
||||
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
|
||||
maven { url = uri("https://mirrors.cloud.tencent.com/nexus/repository/maven-public/") }
|
||||
maven { url = uri("https://mirrors.cloud.tencent.com/nexus/repository/apache-snapshots/") }
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
registry=https://registry.npmmirror.com/
|
||||
registry=http://mirrors.tencent.com/npm/
|
||||
|
||||
Reference in New Issue
Block a user