Skip to content

Commit a68517e

Browse files
authored
Release 1.7.0 (#86)
- Based on Android Gradle Plugin 7.4 API - Compatible with Gradle version 7.5+ - Adds (experimental) support running and using test coverage results from Gradle Managed Devices
1 parent 487520b commit a68517e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ rootCoverage {
124124
// which usually requires this attribute to be true
125125
includeNoLocationClasses false
126126
127-
// Upcoming in 1.7: If set to true instrumented tests will be attempt to run on
127+
// Since 1.7 (experimental): If set to true instrumented tests will be attempt to run on
128128
// Gradle Managed Devices before trying devices connected through other means (ADB).
129129
runOnGradleManagedDevices false
130130
131-
// Upcoming in 1.7: The name of the Gradle Managed device to run instrumented tests on.
131+
// Since 1.7 (experimental): The name of the Gradle Managed device to run instrumented tests on.
132132
// This is only used if `runOnGradleManagedDevices` is set to true. If not given tests will be
133133
// run on all available Gradle Managed Devices
134134
gradleManagedDeviceName "nexusoneapi30"
@@ -139,6 +139,7 @@ rootCoverage {
139139
# 4. Compatibility
140140
| Version | [Android Gradle plugin version](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle) | Gradle version |
141141
|----------------|--------------------------------------------------------------------------------------------------------------|-------------------|
142+
| **1.7.0** | 7.4 | 7.5+ |
142143
| **1.6.0** | 7.3 | 7.4+ |
143144
| **1.5.3** | 7.2 | 7.3+ |
144145
| **See note 2** | 7.0-7.2-alpha05 | n.a. |

plugin/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
POM_ARTIFACT_ID=android-root-coverage-plugin
2-
VERSION_NAME=1.6.0
2+
VERSION_NAME=1.7.0
33
POM_NAME=Android Root Coverage Plugin
44
POM_DESCRIPTION=A Gradle plugin for easy generation of combined code coverage reports for Android projects with multiple modules.

plugin/src/main/kotlin/org/neotech/plugin/rootcoverage/RootCoveragePlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import java.io.File
2222

2323
class RootCoveragePlugin : Plugin<Project> {
2424

25-
private val minimumRequiredAgpVersion = AndroidPluginVersion(7, 2).alpha(6)
25+
private val minimumRequiredAgpVersion = AndroidPluginVersion(7, 4)
2626

2727
private lateinit var rootProjectExtension: RootCoveragePluginExtension
2828

0 commit comments

Comments
 (0)