Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to kotlin-stdlib instead of kotlin-stdlib-jdk8 on Kotlin 1.8+ #1120

Closed
techwn opened this issue Feb 25, 2023 · 2 comments
Closed

Upgrade to kotlin-stdlib instead of kotlin-stdlib-jdk8 on Kotlin 1.8+ #1120

techwn opened this issue Feb 25, 2023 · 2 comments
Labels
for: external-project For an external project and not something we can fix status: superseded

Comments

@techwn
Copy link

techwn commented Feb 25, 2023

With Kotlin 1.8 + , the min JVM target is 1.8. So the Kotlin merged kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8 to kotlin-stdlib.

Refer to https://kotlinlang.org/docs/whatsnew18.html#updated-jvm-compilation-target

The screen shot like below:

image

Currently, when try spring-boot 3.1-M1 with starter, still using kotlin-stdlib-jdk8:

image

@wilkinsona
Copy link
Contributor

Thanks for the suggestion. For Gradle projects, we plan to remove the dependency entirely as Kotlin's plugin adds it automatically (see spring-io/initializr#1376). We should still do something for Maven though.

@wilkinsona
Copy link
Contributor

Closing in favor of spring-io/initializr#1386.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2023
@wilkinsona wilkinsona added status: superseded for: external-project For an external project and not something we can fix and removed type: entry-upgrade labels Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: superseded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants