diff --git a/README.md b/README.md index f902fa1..eac0d05 100644 --- a/README.md +++ b/README.md @@ -94,10 +94,10 @@ ## ❗国服特色 -本项目已将以下仓库自动替换为官方仓库,省却了用户自行配置的烦恼 -- npm 官方仓库 -> 阿里云镜像仓库 -- maven 官方仓库 -> 阿里云镜像仓库 -- gradle-wrapper 官方仓库 -> 阿里云镜像仓库 +本项目已将以下仓库自动替换为国内镜像仓库,省却了用户自行配置的烦恼 +- npm 官方仓库 -> 腾讯云镜像仓库 +- maven 官方仓库 -> 腾讯云镜像仓库 +- gradle-wrapper 官方仓库 -> 腾讯云镜像仓库 - docker 官方仓库 -> 无法自动替换,需在本机指定 daemon.json 文件。 ## 🥒 自动化数据库管理 diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts index 67598ca..bd2850c 100644 --- a/backend/build.gradle.kts +++ b/backend/build.gradle.kts @@ -78,7 +78,7 @@ dependencies { } tasks.withType { - archiveFileName.set("dbfirst.jar") + archiveFileName.set("backend.jar") } tasks.withType { diff --git a/backend/gradle/wrapper/gradle-wrapper.properties b/backend/gradle/wrapper/gradle-wrapper.properties index 20755cb..5dd1cea 100644 --- a/backend/gradle/wrapper/gradle-wrapper.properties +++ b/backend/gradle/wrapper/gradle-wrapper.properties @@ -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 diff --git a/backend/settings.gradle.kts b/backend/settings.gradle.kts index 6fd055b..13e2abe 100644 --- a/backend/settings.gradle.kts +++ b/backend/settings.gradle.kts @@ -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() } } \ No newline at end of file diff --git a/frontend/.npmrc b/frontend/.npmrc index 5e4086a..80f18d9 100644 --- a/frontend/.npmrc +++ b/frontend/.npmrc @@ -1 +1 @@ -registry=https://registry.npmmirror.com/ +registry=http://mirrors.tencent.com/npm/