Skip to content

Add java25 checks and unit test min to java17 - #1244

Open
loosebazooka wants to merge 1 commit into
mainfrom
add-java-25-stuff
Open

Add java25 checks and unit test min to java17#1244
loosebazooka wants to merge 1 commit into
mainfrom
add-java-25-stuff

Conversation

@loosebazooka

@loosebazooka loosebazooka commented Jul 17, 2026

Copy link
Copy Markdown
Member
  • Set testCompile tasks to target java17
  • Also compile sigstore-testkit module with java17
  • Upgrade mock-oauth2-server to 5.0.2
  • Update google java format to 1.35.0

Summary

Release Note

Documentation

vlsi
vlsi previously approved these changes Jul 27, 2026
Comment thread sigstore-java/src/test/java/dev/sigstore/oidc/client/WebOidcClientTest.java Outdated
Comment thread sigstore-java/build.gradle.kts Outdated
aaronlew02
aaronlew02 previously approved these changes Aug 11, 2026
@loosebazooka loosebazooka changed the title Add java25 checks Add java25 checks and unit test min to java17 Aug 11, 2026
- Set testCompile tasks to target java17
- Also compile sigstore-testkit module with java17
- Upgrade mock-oauth2-server to 5.0.2
- Update google java format to 1.35.0

Signed-off-by: Appu <appu@google.com>

@vlsi vlsi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good. A single property instead of replicating 17 would be nice as well

release.set(buildParameters.targetJavaVersion)
plugins.withId("java") {
tasks.named<JavaCompile>("compileTestJava") {
options.release.set(17)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It might make sense to create a property for testTargetJdk like we have for the main code

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.

3 participants