From da3663c88d2c05f35ad76935ee41734fc573cd7c Mon Sep 17 00:00:00 2001 From: Rolf Smit Date: Tue, 3 Sep 2024 08:44:27 +0200 Subject: [PATCH] Release 1.9.0 - Fixed: Code coverage data not picked up when using Gradle Managed Devices in combination with flavors (#102) - Fixed: Code coverage data not picked up when using Gradle Managed Devices in combination with executeAndroidTests=false (#104) - Based on Android Gradle Plugin 8.6 API - Compatible with Gradle version 8.7+ --- README.md | 39 +++++++++++++++++---------------------- plugin/gradle.properties | 2 +- 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index ff2ef81..b9e8306 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ following methods: ```groovy // Below buildscript {} plugins { - id "nl.neotech.plugin.rootcoverage" version "1.8.0" + id "nl.neotech.plugin.rootcoverage" version "1.9.0" } ``` @@ -42,7 +42,7 @@ following methods: buildscript { dependencies { - classpath 'nl.neotech.plugin:android-root-coverage-plugin:1.8.0' + classpath 'nl.neotech.plugin:android-root-coverage-plugin:1.9.0' } } ``` @@ -137,26 +137,21 @@ rootCoverage { # 4. Compatibility -| Version | [Android Gradle plugin version](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle) | Gradle version | -|------------|--------------------------------------------------------------------------------------------------------------|-------------------| -| **1.8.0** | 8.3.0-alpha05 - 8.3.2 | 8.4+ *(note 1)* | -| **Note 2** | 8.0 - 8.3.0-alpha04 | n.a. | -| **1.7.1** | 7.4 | 7.5+ | -| **1.6.0** | 7.3 | 7.4+ | -| **1.5.3** | 7.2 | 7.3+ | -| **Note 3** | 7.0 - 7.2.0-alpha05 | n.a. | -| **1.4.0** | 4.2
4.1 | 6.7.1+
6.5+ | -| **1.3.1** | 4.0
3.6 | 6.1.1+
5.6.4+ | -| **1.2.1** | 3.5 | 5.4.1+ | -| **1.1.2** | 3.4 | 5.1.1+ | -| **1.1.1** | 3.3 | 4.10.1+ | -| **1.0.2** | 3.2 | 4.6+ | - -
- Note 1: AGP 8.3.0 and Gradle 8.3 - - *The Android developers website claims AGP 8.3 requires Gradle version 8.3 as a minimum, however from at least alpha release 11 this seems to instead be Gradle version 8.4!* -
+| Version | [Android Gradle plugin version](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle) | Gradle version | +|------------|--------------------------------------------------------------------------------------------------------------|------------------------| +| **1.9.0** | 8.6.0 | 8.7+ | +| **1.8.0** | 8.5.2
8.4.2
8.3.0-alpha05 - 8.3.2 | 8.6+
8.5+
8.4+ | +| **Note 2** | 8.0 - 8.3.0-alpha04 | n.a. | +| **1.7.1** | 7.4 | 7.5+ | +| **1.6.0** | 7.3 | 7.4+ | +| **1.5.3** | 7.2 | 7.3+ | +| **Note 3** | 7.0 - 7.2.0-alpha05 | n.a. | +| **1.4.0** | 4.2
4.1 | 6.7.1+
6.5+ | +| **1.3.1** | 4.0
3.6 | 6.1.1+
5.6.4+ | +| **1.2.1** | 3.5 | 5.4.1+ | +| **1.1.2** | 3.4 | 5.1.1+ | +| **1.1.1** | 3.3 | 4.10.1+ | +| **1.0.2** | 3.2 | 4.6+ |
Note 2: AGP 8.0-8.3.0-alpha04 diff --git a/plugin/gradle.properties b/plugin/gradle.properties index 8063952..7016436 100644 --- a/plugin/gradle.properties +++ b/plugin/gradle.properties @@ -1,4 +1,4 @@ POM_ARTIFACT_ID=android-root-coverage-plugin -VERSION_NAME=1.8.0 +VERSION_NAME=1.9.0 POM_NAME=Android Root Coverage Plugin POM_DESCRIPTION=A Gradle plugin for easy generation of combined code coverage reports for Android projects with multiple modules.