mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Upgrade to Gradle 8.12
This commit is contained in:
+3
-3
@@ -25,17 +25,17 @@ configure(allprojects) { project ->
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven {
|
maven {
|
||||||
url "https://repo.spring.io/milestone"
|
url = "https://repo.spring.io/milestone"
|
||||||
content {
|
content {
|
||||||
// Netty 5 optional support
|
// Netty 5 optional support
|
||||||
includeGroup 'io.projectreactor.netty'
|
includeGroup 'io.projectreactor.netty'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (version.contains('-')) {
|
if (version.contains('-')) {
|
||||||
maven { url "https://repo.spring.io/milestone" }
|
maven { url = "https://repo.spring.io/milestone" }
|
||||||
}
|
}
|
||||||
if (version.endsWith('-SNAPSHOT')) {
|
if (version.endsWith('-SNAPSHOT')) {
|
||||||
maven { url "https://repo.spring.io/snapshot" }
|
maven { url = "https://repo.spring.io/snapshot" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ apply from: "${rootDir}/gradle/publications.gradle"
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url "https://repo.spring.io/release"
|
url = "https://repo.spring.io/release"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ tasks.register('schemaZip', Zip) {
|
|||||||
archiveClassifier.set("schema")
|
archiveClassifier.set("schema")
|
||||||
description = "Builds -${archiveClassifier} archive containing all " +
|
description = "Builds -${archiveClassifier} archive containing all " +
|
||||||
"XSDs for deployment at https://springframework.org/schema."
|
"XSDs for deployment at https://springframework.org/schema."
|
||||||
duplicatesStrategy DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
moduleProjects.each { module ->
|
moduleProjects.each { module ->
|
||||||
def Properties schemas = new Properties();
|
def Properties schemas = new Properties();
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ javadoc {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url "https://repo.spring.io/release"
|
url = "https://repo.spring.io/release"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
@@ -86,8 +86,7 @@ done
|
|||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
APP_BASE_NAME=${0##*/}
|
APP_BASE_NAME=${0##*/}
|
||||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||||
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
|
||||||
' "$PWD" ) || exit
|
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD=maximum
|
MAX_FD=maximum
|
||||||
|
|||||||
Reference in New Issue
Block a user