vanniktech / gradle-android-junit-jacoco-plugin

Gradle plugin that generates JaCoCo reports from an Android Gradle Project
http://vanniktech.com
Apache License 2.0
399 stars 72 forks source link

Kotlin Multiplatform/JVM Without Android #186

Closed jonatbergn closed 3 years ago

jonatbergn commented 3 years ago

The plugin is not able to discover the jacoco exec file for a potential KMP sub-module targeting jvm, but not android. In that case jvmTest.exec needs to be picked up instead of test.exec.

Not sure if this is the right way to fix it.

codecov[bot] commented 3 years ago

Codecov Report

Merging #186 (6b745ff) into master (d66937c) will decrease coverage by 0.89%. The diff coverage is 25.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #186      +/-   ##
============================================
- Coverage     84.49%   83.59%   -0.90%     
  Complexity       45       45              
============================================
  Files             3        3              
  Lines           187      189       +2     
  Branches         24       25       +1     
============================================
  Hits            158      158              
- Misses           21       22       +1     
- Partials          8        9       +1     
Impacted Files Coverage Δ Complexity Δ
...ktech/android/junit/jacoco/GenerationPlugin.groovy 83.15% <25.00%> (-0.92%) 43.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d66937c...6b745ff. Read the comment docs.