Releases: NeoTech-Software/Android-Root-Coverage-Plugin
Releases · NeoTech-Software/Android-Root-Coverage-Plugin
1.4.0
New:
- Support for Android Gradle Plugin 4.1 (although version 1.3.0 also works fine with AGP 4.1).
- Support for per module code coverage. Generate a module specific report by running
./gradlew yourModule:coverageReport
. - New configuration option
includeNoLocationClasses
which (like the name implies) sets Jacoco'sincludeNoLocationClasses
. This makes using the plugin in combination with Robolectric easier, since Robolectric often requiresincludeNoLocationClasses
to be set totrue
.
Changed:
- The "Jacoco has been automatically applied" message is not longer a warning but now an info message.
- The Gradle task
rootCoverageReport
(generated in the root project) has been renamed tocoverageReport
, the old task still works but will generate a warning when used. To run all coverage tasks execute./gradlew coverageReport
, to just run the combined (root) coverage report task use./gradlew :coverageReport
(pay attention to the double colon:
). To run coverage for a specific module use./gradlew :yourModule:coverageReport
.
Breaking changes:
None
Bug-fixes:
None
1.3.1
This is a re-release of version 1.3.0 with an updated group ID and plugin ID. This release is not available on JCenter/Bintray but instead has been published to Maven Central and the Gradle Plugin Portal.
To use this release:
- Update references to the group ID from
org.neotech.plugin
tonl.neotech.plugin
- Update references to the plugin ID from
org.neotech.plugin.rootcoverage
to `nl.neotech.plugin.rootcoverage' - Update the version number to 1.3.1
1.3.0
This release officially adds support for Android Gradle Plugin version 3.6.x and therefore raises the minimum Gradle version to 5.6.4. No other changes are included in this release.
1.2.1
- Fixes code in module A not reported as covered even though it is touched by unit tests in module B.
1.2.0
Release highlights:
- Official support for Android Gradle Plugin 3.5 and Gradle 5.6.
- New configuration options that replace the now deprecated
skipTestExecution
andtestTypes
options:executeTests
: When false the plugin does not execute any tests, so you can run them manually or remote (Firebase Test Lab)executeAndroidTests
: Same as executeTests except that this only affects the instrumented Android testsexecuteUnitTests
: Same as executeTests except that this only affects the unit testsincludeAndroidTestResults
: When true include results from instrumented Android tests into the coverage reportincludeUnitTestResults
: When true include results from unit tests into the coverage report
1.1.2
Official support for Android Gradle Plugin 3.4 and Gradle 5.5.
1.1.1
- The minimum supported Gradle version is now 4.10.1, which makes it equal to the minimum supported version that is supported by the Android Gradle plugin version 3.3.0.
1.1.0
Changes:
- Plugin now requires Android Gradle plugin version 3.3.0
Known issues:
- Plugin no longer works with Gradle 4.10.1 (this issue has been fixed in release 1.1.1)
1.0.2
1.0.1
Android-Root-Coverage-Plugin is now available on the Gradle Plugin Portal 🎊: https://plugins.gradle.org/plugin/org.neotech.plugin.rootcoverage