Skip to content

Commit 10aae09

Browse files
committed
Upgrade to Gradle 9.7.0
Fix a deprecation warning surfaced by the upgrade: referencing the version catalog as a bare `libs` inside the root build.gradle's cross-project configure(allprojects) {} block relied on implicit parent-project property lookup, which is deprecated and will fail in Gradle 10. Use rootProject.libs explicitly instead. Signed-off-by: Roy Clarkson <roy.clarkson@broadcom.com>
1 parent 1f644e7 commit 10aae09

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ configure(allprojects - [project(':spring-cloud-open-service-broker-docs')]) {
7070
}
7171

7272
dependencies {
73-
checkstyle(libs.spring.javaformat.checkstyle)
73+
checkstyle(rootProject.libs.spring.javaformat.checkstyle)
7474
}
7575

7676
test {
@@ -235,6 +235,6 @@ configure(rootProject) {
235235
}
236236

237237
wrapper {
238-
gradleVersion = "9.6.1"
238+
gradleVersion = "9.7.0"
239239
distributionType = Wrapper.DistributionType.ALL
240240
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.0-all.zip
44
networkTimeout=10000
55
retries=0
66
retryBackOffMs=500

gradlew

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)