Skip to content

Bump minimum-supported Gradle version to 9#495

Merged
JakeWharton merged 2 commits intotrunkfrom
jw.nine.2025-10-07
Oct 8, 2025
Merged

Bump minimum-supported Gradle version to 9#495
JakeWharton merged 2 commits intotrunkfrom
jw.nine.2025-10-07

Conversation

@JakeWharton
Copy link
Copy Markdown
Collaborator

This allows us to use Kotlin 2.2 and Java 17. The forthcoming Kotlin 2.3.0 will no longer support compiling to 1.8, so we must bump.

Closes #494


  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.

This allows us to use Kotlin 2.2 and Java 17. The forthcoming Kotlin 2.3.0 will no longer support compiling to 1.8, so we must bump.
We don't need to pass `-jvm-default=no-compatibility` instead.
@JakeWharton JakeWharton merged commit 5579868 into trunk Oct 8, 2025
2 checks passed
@JakeWharton JakeWharton deleted the jw.nine.2025-10-07 branch October 8, 2025 02:50
"Licensee plugin requires Gradle 8.0 or later. Found ${GradleVersion.current()}"
val current = GradleVersion.current()
val required = GradleVersion.version("9.0")
require(current >= required) {
Copy link
Copy Markdown
Contributor

@hfhbd hfhbd Oct 8, 2025

Choose a reason for hiding this comment

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

We can finally use the Gradle attribute instead, to let Gradle handle the error. Will create a PR: #498

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Oh, nice. Yeah I have this copied across 4 or 5 plugins so eager to have less code to maintain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump minimum-supported Gradle version to 9

4 participants