diff --git a/build.gradle b/build.gradle index 4b19a9a88b33..2bc2520c9d45 100644 --- a/build.gradle +++ b/build.gradle @@ -25,17 +25,17 @@ configure(allprojects) { project -> repositories { mavenCentral() maven { - url "https://repo.spring.io/milestone" + url = "https://repo.spring.io/milestone" content { // Netty 5 optional support includeGroup 'io.projectreactor.netty' } } if (version.contains('-')) { - maven { url "https://repo.spring.io/milestone" } + maven { url = "https://repo.spring.io/milestone" } } if (version.endsWith('-SNAPSHOT')) { - maven { url "https://repo.spring.io/snapshot" } + maven { url = "https://repo.spring.io/snapshot" } } } configurations.all { diff --git a/framework-api/framework-api.gradle b/framework-api/framework-api.gradle index e8477518793e..c8456268c14c 100644 --- a/framework-api/framework-api.gradle +++ b/framework-api/framework-api.gradle @@ -9,7 +9,7 @@ apply from: "${rootDir}/gradle/publications.gradle" repositories { maven { - url "https://repo.spring.io/release" + url = "https://repo.spring.io/release" } } @@ -87,7 +87,7 @@ tasks.register('schemaZip', Zip) { archiveClassifier.set("schema") description = "Builds -${archiveClassifier} archive containing all " + "XSDs for deployment at https://springframework.org/schema." - duplicatesStrategy DuplicatesStrategy.EXCLUDE + duplicatesStrategy = DuplicatesStrategy.EXCLUDE moduleProjects.each { module -> def Properties schemas = new Properties(); diff --git a/framework-docs/framework-docs.gradle b/framework-docs/framework-docs.gradle index 9c63ab41298d..5850c2f51d41 100644 --- a/framework-docs/framework-docs.gradle +++ b/framework-docs/framework-docs.gradle @@ -37,7 +37,7 @@ javadoc { repositories { maven { - url "https://repo.spring.io/release" + url = "https://repo.spring.io/release" } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e2847c820046..cea7a793a84b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME 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 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index f5feea6d6b11..f3b75f3b0d4f 100755 --- a/gradlew +++ b/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # 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 -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum