Skip to content

Use Java 17#32

Merged
grzesiek2010 merged 1 commit into
masterfrom
java17
Feb 6, 2026
Merged

Use Java 17#32
grzesiek2010 merged 1 commit into
masterfrom
java17

Conversation

@lognaturel

@lognaturel lognaturel commented Feb 3, 2026

Copy link
Copy Markdown
Member

When I tried to do a ./gradlew assembleRelease from master, I got

Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (21) and 'compileReleaseKotlin' (17)

I looked at Collect and Collect uses Java 17 for everything so I've matched that and verify I can release.

What has been done to verify that this works as intended?

./gradlew assembleRelease and then tried on device.

Why is this the best possible solution? Were any other approaches considered?

I considered setting the Kotlin jvm target instead but I'd rather match the versions we use for Collect.

Are there any risks to merging this code? If so, what are they?

Can't currently think of one!

@grzesiek2010 grzesiek2010 merged commit bfa1d3e into master Feb 6, 2026
1 check passed
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