Skip to content

Fix gradle warnings - #550

Merged
pkwarren merged 1 commit into
mainfrom
pkw/fix-gradle-warnings
Nov 2, 2026
Merged

pkwarren merged 1 commit into
mainfrom
pkw/fix-gradle-warnings

Conversation

@pkwarren

@pkwarren pkwarren commented Nov 2, 2026

Copy link
Copy Markdown
Member

No description provided.

}
options.release = 8
// JDK 9+ javac warns that release 8 is obsolete.
options.compilerArgs.add("-Xlint:-options")

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.

Is there a reason to not use --release 8 ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The conformance module requires Java 21+ so the build has to use a later version than 9 to work. Using the gradle release property is cleaner if we don't have to compile with a Java 8 javac.

@pkwarren
pkwarren merged commit b283f80 into main Nov 2, 2026
5 checks passed
@pkwarren
pkwarren deleted the pkw/fix-gradle-warnings branch November 2, 2026 20:45
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.

2 participants