-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
K2 compiler crashes Detekt #6715
Comments
It would help if you could test against this branch please: #6640 detekt is not currently compatible with K2 compiler. |
Hey @3flex, thanks for the info, but one thing, we would like to test your branch prepared for K2, but how could we import your changes in our project? |
https://docs.gradle.org/current/userguide/composite_builds.html Good luck! Sorry I can't provide time to support getting it set up but it should be relatively simple. You'll need to separately include the Gradle plugin and the rest of the project. |
Ok, I'll try next week 👍 thanks! |
Expected Behavior
After updating our project to use K2 compiler we expect we don't get a crash when we run
detekt
Observed Behavior
In our project when we run detekt we are getting similar exceptions to this one:
Steps to Reproduce
gradle.properties
file adding:detekt
and we are getting several exceptions similar to:Github example
You can find a project sample with the issue here:
Your Environment
--scan
option when running the gradle task):The text was updated successfully, but these errors were encountered: