Upgrade Gradle wrapper to 9.6.1; fix Gradle-10 space-assignment deprecation - #600
Conversation
|
|
||
| subprojects { | ||
| group "org.apache.lucene" | ||
| group = "org.apache.lucene" |
There was a problem hiding this comment.
Woops. How come nothing was angry about the missing =?
There was a problem hiding this comment.
(threading my earlier answer here where it belongs) Groovy lets you call a method without parens, so group "org.apache.lucene" was actually group("...") — valid for years, so it never errored; it only became a deprecation (removed in Gradle 10), silent unless --warning-mode all.
|
Groovy lets you call a method without parens, so |
mikemccand
left a comment
There was a problem hiding this comment.
Thank you @serhiy-bzhezytskyy -- I'd be happy to merge those follow-ons if you have them.
Fixes #599.
Bumps the Gradle wrapper 9.1.0 → 9.6.1 (current stable) via
./gradlew wrapper --gradle-version 9.6.1, and fixes the one Gradle-10 deprecation it surfaces.Changes (5 files):
gradle/wrapper/{gradle-wrapper.jar,gradle-wrapper.properties},gradlew,gradlew.bat— standardwrappertask output for 9.6.1.src/build.gradle—group "org.apache.lucene"→group = "org.apache.lucene"(space-assignment is deprecated, removed in Gradle 10).Verification (local; CI here is Python-only so it won't run Gradle):
./gradlew --version→ Gradle 9.6.1./gradlew jar/./gradlew tasks --all→ BUILD SUCCESSFUL./gradlew jar --warning-mode all→ 0 deprecations76805e32…93f3).Left out of scope (mentioned in #599 as optional follow-ups): pinning
distributionSha256Sumand adding wrapper-validation to CI.