Skip to content

SOLR-18342: Upgrade Gradle build to 9.7.0 - #4727

Merged
dsmiley merged 3 commits into
apache:mainfrom
serhiy-bzhezytskyy:SOLR-18342-gradle-9.7.0
Aug 17, 2026
Merged

SOLR-18342: Upgrade Gradle build to 9.7.0#4727
dsmiley merged 3 commits into
apache:mainfrom
serhiy-bzhezytskyy:SOLR-18342-gradle-9.7.0

Conversation

@serhiy-bzhezytskyy

Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/SOLR-18342

Description

Upgrades the Gradle wrapper and the version catalog from 9.6.0 to 9.7.0 (current stable, released 2026-08-06). Build-tool only, no API migrations needed.

Checked with --warning-mode all that the bump introduces no new Gradle deprecations — the same set of deprecation kinds appears on 9.6.0 and on 9.7.0 (310 -> 298 occurrences, all pre-existing and hidden by org.gradle.warning.mode=none).

Testing

On Temurin 21:

  • ./gradlew --version reports 9.7.0
  • ./gradlew :solr:solrj:compileJava :solr:core:compileJava
  • ./gradlew spotlessCheck

./gradlew check -x test fails on :rat for six files that predate this change (.asf.yaml, .editorconfig, .git-blame-ignore-revs, dev-docs/ui/*.adoc); the same failure reproduces on an unmodified main.

Wrapper and version catalog 9.6.0 -> 9.7.0. No API migrations needed;
checked with --warning-mode all that the bump adds no new Gradle
deprecations.
@github-actions github-actions Bot added dependencies Dependency upgrades tool:build labels Aug 12, 2026

@dsmiley dsmiley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. What's motivating this?

@serhiy-bzhezytskyy

Copy link
Copy Markdown
Contributor Author

David, 9.7.0 came out on 2026-08-06 and I bumped it in Kafka (#23142) and OpenSearch (#22719), so Solr got it too :)
This upgrade might bring only alignment with Lucene's Gradle soon, but there is no fundamental changes for us, just keep build system up to date.

@@ -0,0 +1,8 @@
# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc
title: The build now uses Gradle 9.7.0 (upgraded from 9.6.0).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our releases are sadly so delayed that it's pointless to have a separate changelog from the 9.6 one you did. Users will never "see" 9.6.0. So just update the existing one.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, done

@dsmiley
dsmiley merged commit c1825e1 into apache:main Aug 17, 2026
1 check passed
@dsmiley dsmiley added this to the 10.x milestone Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency upgrades tool:build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants