[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.
|
picklebento
left a comment
There was a problem hiding this comment.
Did we test with AGP 4.2 so far? (Not a blocking question but something I am interested in)
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-pluginwas 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