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
[WIP] Kotlin 2.0 support (2.0.0-RC3) #6640
base: main
Are you sure you want to change the base?
Conversation
Hey @3flex after trying the commit 429a178 as you mentioned here #6715 (comment). I've been able to compile your branch and generate the library on my MavenLocal. But when I've run
Thanks :) |
You probably need to follow steps here: https://docs.gradle.org/8.3/release-notes.html#kotlin_k2 and be sure to use Gradle 8.3 or higher. Also have a read of https://kotlinlang.org/docs/whatsnew-eap.html#current-k2-compiler-limitations |
8652daa
to
68f3cc7
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6640 +/- ##
============================================
- Coverage 84.70% 84.37% -0.34%
- Complexity 3992 4163 +171
============================================
Files 578 578
Lines 12163 12082 -81
Branches 2495 2478 -17
============================================
- Hits 10303 10194 -109
- Misses 626 644 +18
- Partials 1234 1244 +10 ☔ View full report in Codecov by Sentry. |
Multiple labels are forbidden on statements from 2.0.0-Beta4 https://youtrack.jetbrains.com/issue/KT-53629
Kotlin 2.0.0-RC3 increased its min supported AGP version to 7.1.3. Bumping in detekt to match.
Unless I've missed something it seems that the classic method of running detekt is compatible with K2 but the compiler plugin isn't.
Testing & experimentation is encouraged.
Fixes #6715