@@ -26,7 +26,7 @@ apply plugin: 'org.neotech.plugin.rootcoverage'
2626buildscript { 
2727    dependencies { 
2828        // Step 1: add the dependency 
29-         classpath 'org.neotech.plugin:android-root-coverage-plugin:1.1.2 ' 
29+         classpath 'org.neotech.plugin:android-root-coverage-plugin:1.2.0 ' 
3030    } 
3131} 
3232``` 
@@ -51,7 +51,7 @@ android {
5151The Android-Root-Coverage-Plugin generates a special Gradle task ` :rootCodeCoverageReport `  that when
5252executed generates a Jacoco code coverage report. You can either run this task directly from
5353Android Studio using the Gradle Tool Window (see:
54- https://www.jetbrains.com/help/idea/jetgradle-tool-window.html ) or from the terminal.
54+ < https://www.jetbrains.com/help/idea/jetgradle-tool-window.html > ) or from the terminal.
5555
5656-  ** Gradle Tool Window:**  You can find the task under: ` Tasks > reporting > rootCodeCoverageReport ` , double click to  execute it.
5757-  ** Terminal:**  Execute the task using ` gradlew rootCodeCoverageReport ` .
@@ -60,18 +60,19 @@ https://www.jetbrains.com/help/idea/jetgradle-tool-window.html) or from the term
6060# Compatibility  
6161|  Version       |  Android Gradle plugin version |  Gradle version | 
6262|  ------------- |  ----------------------------- |  -------------- | 
63+ |  ** 1.2.0**      |  3.5                           |  5.4.1-5.6.4    | 
6364|  ** 1.1.2**      |  3.4                           |  5.1.1+         | 
6465|  ** 1.1.1**      |  3.3                           |  4.10.1+        | 
6566|  ~~ ** 1.1.0** ~~  |  ~~ 3.3~~                        |  ~~ 5+~~          | 
6667|  ** 1.0.2**      |  3.2                           |  4.6+           | 
6768
6869* Note: This plugin normally supports exactly the same Gradle versions as the Android Gradle
6970plugin, for more information please refer to:*  
70- https://developer.android.com/studio/releases/gradle-plugin#updating-gradle 
71+ < https://developer.android.com/studio/releases/gradle-plugin#updating-gradle > 
7172
7273Android Gradle Plugin versions before ` 3.4.0-alpha05 `  are affected by a bug that in certain conditions can
7374cause Jacoco instrumentation to fail in combination with inline kotlin methods shared across modules. For more information
74- see: https://issuetracker.google.com/issues/109771903  and https://issuetracker.google.com/issues/110763361 .
75+ see: < https://issuetracker.google.com/issues/109771903 >  and < https://issuetracker.google.com/issues/110763361 > .
7576If your project is affected by this upgrade to an Android Gradle Plugin version of at least ` 3.4.0-alpha05 ` .
7677
7778
@@ -88,13 +89,23 @@ rootCoverage {
8889    // Overrides the default build variant for specific modules. 
8990    buildVariantOverrides ":moduleA" : "debugFlavourA", ":moduleB": "debugFlavourA" 
9091     
91- 
9292    // Class exclude patterns 
9393    excludes = ["**/some.package/**"] 
94-     // If true the task it self does not execute any tests (debug option) 
95-     skipTestExecution false 
96-     // Type of tests to run (import com.android.builder.model.TestVariantBuildOutput.TestType) 
97-     testTypes = [TestType.UNIT, TestType.ANDROID_TEST] 
94+ 
95+     // Since 1.2: When false the plugin does not execute any tests, useful when you run the tests manually or remote (Firebase Test Lab) 
96+     executeTests true 
97+      
98+     // Since 1.2: Same as executeTests except that this only affects the instrumented Android tests 
99+     executeAndroidTests true 
100+ 
101+     // Since 1.2: Same as executeTests except that this only affects the unit tests 
102+     executeUnitTests true 
103+ 
104+     // Since 1.2: When true include results from instrumented Android tests into the coverage report 
105+     includeAndroidTestResults true 
106+ 
107+     // Since 1.2: When true include results from unit tests into the coverage report 
108+     includeUnitTestResults true 
98109} 
99110``` 
100111
@@ -105,7 +116,6 @@ projects. But if you like to add some actually functionality, this is the wish l
105116
106117-  Support for Java library modules
107118-  Make use of the JacocoMerge task? To merge the ` exec `  en ` ec `  files?
108- -  Support for configuring the output type: html, xml etc. (Just like Jacoco)
109119-  Improved integration test setup: without the hackish dynamic versions in the Gradle plugin block?
110120
111121** How to test your changes/additions?** 
0 commit comments