Upgrade to Gradle 8.12

This commit is contained in:
Sam Brannen
2024-12-21 16:02:15 +01:00
parent 2baf70768d
commit 99cb6ba0a7
5 changed files with 8 additions and 9 deletions
+3 -3
View File
@@ -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 {
+2 -2
View File
@@ -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();
+1 -1
View File
@@ -37,7 +37,7 @@ javadoc {
repositories { repositories {
maven { maven {
url "https://repo.spring.io/release" url = "https://repo.spring.io/release"
} }
} }
+1 -1
View File
@@ -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
Vendored
+1 -2
View File
@@ -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