Replies: 6 comments 2 replies
-
/cc @geoand (kotlin) |
Beta Was this translation helpful? Give feedback.
-
@aloubyansky @GMet does this remind you of anything? |
Beta Was this translation helpful? Give feedback.
-
I decided to migrate to Kotlin 2, so this is no longer an issue for me, but I think anyone else doing the same upgrade will have this problem, so: should I keep this question open or close it since it no longer affects me ? |
Beta Was this translation helpful? Give feedback.
-
Hey guys, I would like to re-open this thread as I'm having a similar problem: My project is using We can't change to Kotlin 2 right now as the compiler breaks (without reason, see stacktrace in the end of the message).
Kotlin 2 error stacktrace:
|
Beta Was this translation helpful? Give feedback.
-
^^ I got exact same issue when trying to upgrade to 3.15 from 3.8 with |
Beta Was this translation helpful? Give feedback.
-
This might be reproducible in Quarkus' own test suites with one small change: In the "conditional-dependencies-kotlin" test, if I swap the order of the repos in the settings.gradle.kts file, I see this error appear. My repo has undergone a few test runs so it may not be in the cleanest state. pluginManagement {
val quarkusPluginVersion: String by settings
repositories {
gradlePluginPortal() // This was moved up from the bottom of the list
mavenLocal {
content {
includeGroupByRegex("io.quarkus.*")
includeGroup("org.hibernate.orm")
}
}
mavenCentral()
}
plugins {
id("io.quarkus") version quarkusPluginVersion
}
}
rootProject.name="code-with-quarkus" |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to migrate to the latest LTS (3.15), when I reached 3.12 I stepped on a mine 💥, I think this is the collection of facts that lead to it:
id("io.quarkus")
) migrated to Kotlin 2.0, which dropped an enum constantSo: Does it ring a bell to anyone? Thought of asking before going down the rabbit hole of trying to see if the Gradle plugin can support multiple versions
The error message:
Beta Was this translation helpful? Give feedback.
All reactions