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

Support Kotlin 2.0 #40590

Closed
andreas-eberle opened this issue May 13, 2024 · 7 comments · Fixed by #40745
Closed

Support Kotlin 2.0 #40590

andreas-eberle opened this issue May 13, 2024 · 7 comments · Fixed by #40745
Labels
area/kotlin kind/enhancement New feature or request

Comments

@andreas-eberle
Copy link
Contributor

Description

Kotlin is preparing the 2.0 release. As of this writing, the Kotlin 2.0 RC3 is out (https://kotlinlang.org/docs/whatsnew-eap.html). Since Kotlin 2.0 brings some major changes under the hood (new compiler), I assume this might have implications for the Quarkus integrations. Therefore it probably is a good idea to start looking into what needs to be adapted.

I had a first glance and updated the libraries locally but noticed some problems. Unfortunately, I currently don't have the time to investigate it further myself and I'm not deep enough into the Quarkus internals yet.

Implementation ideas

No response

@andreas-eberle andreas-eberle added the kind/enhancement New feature or request label May 13, 2024
@quarkus-bot
Copy link

quarkus-bot bot commented May 13, 2024

/cc @geoand (kotlin)

@geoand
Copy link
Contributor

geoand commented May 13, 2024

Do you by any chance have stacktraces of things that were failing?

@andreas-eberle
Copy link
Contributor Author

I pushed the initial changes here https://github.com/andreas-eberle/quarkus/tree/feature/kotlin-2.0. But it only contains the version number increase.

At the moment, the buid fails when I run ./mvnw install -Dquickly -DskipTests -DskipITs.

The error is

javax.annotation.processing.Processor: Provider io.quarkus.panache.common.runtime.PanacheAnnotationProcessor not found

and happens when it tries to compile

[INFO] Quarkus - Hibernate Reactive with Panache - Common - Runtime FAILURE [  0.707 s]

@mschorsch
Copy link

Kotlin 2 was released https://kotlinlang.org/docs/whatsnew20.html, but the IDE support still seems to have alpha status.

@geoand
Copy link
Contributor

geoand commented May 23, 2024

@gastaldi just merged a PR that bumps to Kotlin 2.

@gastaldi
Copy link
Contributor

Yeap, #40745. Closing this now

@mschorsch
Copy link

Thanks @gastaldi 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kotlin kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants