Conversation
Codecov Report
@@ Coverage Diff @@
## main #5614 +/- ##
============================
============================
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
💥 |
|
Blocked on tschuchortdev/kotlin-compile-testing#336 We might need to switch to running all tests via CLI and/or Gradle for the compiler plugin to avoid being continuously blocked by this dependency when Kotlin is updated. That dependency isn't updated frequently. |
This is the default backend from Kotlin 1.8 but an opt-in is required.
|
|
||
| tasks.test { | ||
| // https://github.com/detekt/detekt/issues/5646 | ||
| enabled = false |
* Update Kotlin to v1.8.0 * Add required annotations for Kotlin 1.8 * Set IR backend mode explicitly in JS Gradle tests This is the default backend from Kotlin 1.8 but an opt-in is required. * Migrate from kotlinOptions to compilerOptions https://kotlinlang.org/docs/whatsnew18.html#exposing-kotlin-compiler-options-as-gradle-lazy-properties * Update list of compatible JVM targets * Disable :detekt-compiler-plugin:test task
|
Is there a plan to release new version includes this commit? I want to use detekt with kotlin-1.8.x |
|
You can either:
|
What do you mean by that? We updated to Kotlin 1.8.10 (along with Ksp 1.8.10-1.0.9, Compose Kotlin compiler 1.4.2, Detekt 1.22.0) but we still see the error, we're not using any new Kotlin 1.8 language features. btw, using snapshots works. |
What error do you see? Consider opening a new issue so we can assist. |
|
I have the same problem as described above, after trying to switch to kotlin 1.8 with same detekt version 1.22.0 I see: |
|
Hi, please open a new issue for this, thanks! |
yes, im also facing the same issue after upgrading |
https://kotlinlang.org/docs/whatsnew18.html
https://github.com/JetBrains/kotlin/releases/tag/v1.8.0