Skip to content

build: fix warning about kotlin not supporting jdk 25 - #410

Closed
ktoso wants to merge 1 commit into
swiftlang:mainfrom
ktoso:wip-build-warning
Closed

ktoso wants to merge 1 commit into
swiftlang:mainfrom
ktoso:wip-build-warning

Conversation

@ktoso

@ktoso ktoso commented Oct 24, 2025 •

Copy link
Copy Markdown
Collaborator

it would fall back to 24, however also pollute logs with warnings about this: "Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target" so we can set this explicitly.

I looked at https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support and I think this may be good enough...?

it would fall back to 24, however also pollute logs with warnings about
this: "Kotlin does not yet support 25 JDK target, falling back to Kotlin
JVM_24 JVM target" so we can set this explicitly.
@ktoso

ktoso commented Oct 24, 2025

Copy link
Copy Markdown
Collaborator Author

Meh, it's not quite right since CI uses 17... I wonder if we really have to do that with 17 at all, and we could just set lower language targets but keep using the latest JDK hmm...

WDYT @madsodgaard

@ktoso
ktoso marked this pull request as draft October 24, 2025 12:49
@ktoso ktoso closed this Oct 30, 2025
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.

1 participant