-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
[KMP] Fix resolution of Android test classpaths #4026
Conversation
d4b89be
to
9491c10
Compare
Codecov Report
@@ Coverage Diff @@
## main #4026 +/- ##
=========================================
Coverage 83.56% 83.56%
Complexity 3182 3182
=========================================
Files 459 459
Lines 9092 9092
Branches 1771 1771
=========================================
Hits 7598 7598
Misses 561 561
Partials 933 933 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we test with AGP 4.2 so far? (Not a blocking question but something I am interested in)
...kt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/internal/DetektMultiplatform.kt
Show resolved
Hide resolved
We're already on AGP |
9491c10
to
6234a79
Compare
There is a |
2c0fa3b
to
25d3edd
Compare
This PR depends on #4025
The approach used inside the KMP support for
detekt-gradle-plugin
was not working correctly for tests sourcesets of Android targets. I fixed it by delegating the creation of detekt tasks forandroid()
targets toDetektAndroid
. This will also make sure that the behavior between a pure Android project and a KMP project with an Android target is closer.Fixes #3840