Browse Source

fix:镜像切换到阿里云

tags/freeze
白凤吉 3 months ago
parent
commit
ebd1cb9999
  1. 6
      build.gradle
  2. 2
      gradle/wrapper/gradle-wrapper.properties

6
build.gradle

@ -1,3 +1,4 @@
// build.gradle
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.5'
@ -14,7 +15,9 @@ java {
}
repositories {
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/spring' }
}
dependencies {
@ -40,7 +43,6 @@ dependencies {
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}

2
gradle/wrapper/gradle-wrapper.properties

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

Loading…
Cancel
Save