Browse Source

Upgrade to Gradle 8.12

pull/34398/head
Sam Brannen 1 year ago
parent
commit
99cb6ba0a7
  1. 6
      build.gradle
  2. 4
      framework-api/framework-api.gradle
  3. 2
      framework-docs/framework-docs.gradle
  4. 2
      gradle/wrapper/gradle-wrapper.properties
  5. 3
      gradlew

6
build.gradle

@ -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 {

4
framework-api/framework-api.gradle

@ -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();

2
framework-docs/framework-docs.gradle

@ -37,7 +37,7 @@ javadoc {
repositories { repositories {
maven { maven {
url "https://repo.spring.io/release" url = "https://repo.spring.io/release"
} }
} }

2
gradle/wrapper/gradle-wrapper.properties vendored

@ -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

3
gradlew vendored

@ -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

Loading…
Cancel
Save