From f5149e9d4fb455fa6036ce0ebbf155df592c8683 Mon Sep 17 00:00:00 2001 From: Johanna DUIGOU Date: Sun, 4 Jan 2026 21:23:35 +0100 Subject: [PATCH 1/3] Release 1.2.0 --- CHANGELOG.md | 23 ++++++++++++++++++++--- android-plugin/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ba6c326..2ddd6947 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,14 +9,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Rule EC533 google ads consent +### Changed + +### Deleted + +## [1.2.0] - 2026-01-04 + +### Added + +- [#102](https://github.com/green-code-initiative/ecoCode-android/pull/102) Add rule EC533 (Google ads consent) +- [#105](https://github.com/green-code-initiative/ecoCode-android/pull/105) Add rule EC534 (Tracking Id via `TelephonyManager#getDeviceId()`) +- [#103](https://github.com/green-code-initiative/ecoCode-android/pull/103) Add rule EC549 (Hardware acceleration in Android components, XML) ### Changed -- SPRI004: Add rule to avoid use of Tracking Id using TelephonyManager#getDeviceId() +- [#92](https://github.com/green-code-initiative/ecoCode-android/pull/92) Update EC522 (member select) and related tests +- Rework BrightnessOverrideRule checks and clean up unused logic - The embedded Groovy language analyzer was reconfigured to scan only `.gradle` files since it is the files we are interested in for the Android project configuration rules. The associated language is named `Groovy (Gradle)` instead of just `Groovy`. Since the plugin does not scan `.groovy` files anymore, it can work with a Groovy scanner on the same SonarQube instance. +- Bump embedded CodeNarc to 2.2.5 +- Remove unused Groovy/CodeNarc extensions and simplify sensors +- Fix Docker configuration for Apple M1 builds and update the jar path in compose files +- Update CI workflow and documentation (README/RULES) ### Deleted @@ -92,7 +107,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - First official release of ecocode plugins : android plugin -[unreleased]: https://github.com/green-code-initiative/ecoCode/compare/v1.1.0...HEAD +[unreleased]: https://github.com/green-code-initiative/ecoCode/compare/v1.2.0...HEAD + +[1.2.0]: https://github.com/green-code-initiative/ecoCode/releases/tag/v1.2.0 [1.1.0]: https://github.com/green-code-initiative/ecoCode/releases/tag/v1.1.0 diff --git a/android-plugin/pom.xml b/android-plugin/pom.xml index 0ae85e19..cf666ce4 100644 --- a/android-plugin/pom.xml +++ b/android-plugin/pom.xml @@ -5,7 +5,7 @@ io.ecocode ecocode-android-parent - 1.1.1-SNAPSHOT + 1.2.0 ecocode-android diff --git a/pom.xml b/pom.xml index a78a34bc..ee6bb15c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.ecocode ecocode-android-parent - 1.1.1-SNAPSHOT + 1.2.0 pom ecoCode Android Sonar Plugins Project From 58d64b488917ca708c20bc3d58c632b4c271e761 Mon Sep 17 00:00:00 2001 From: Johanna DUIGOU Date: Sun, 4 Jan 2026 21:23:52 +0100 Subject: [PATCH 2/3] Start 1.2.1-SNAPSHOT --- android-plugin/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android-plugin/pom.xml b/android-plugin/pom.xml index cf666ce4..11987a02 100644 --- a/android-plugin/pom.xml +++ b/android-plugin/pom.xml @@ -5,7 +5,7 @@ io.ecocode ecocode-android-parent - 1.2.0 + 1.2.1-SNAPSHOT ecocode-android diff --git a/pom.xml b/pom.xml index ee6bb15c..a85162ab 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.ecocode ecocode-android-parent - 1.2.0 + 1.2.1-SNAPSHOT pom ecoCode Android Sonar Plugins Project From 01c3d497d9d54d5ee0a762fd004510fba2f59505 Mon Sep 17 00:00:00 2001 From: Johanna DUIGOU Date: Mon, 5 Jan 2026 11:39:44 +0100 Subject: [PATCH 3/3] Fix codenarc parent version --- codenarc-converter/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codenarc-converter/pom.xml b/codenarc-converter/pom.xml index 8e4f65c8..7d71fcb4 100644 --- a/codenarc-converter/pom.xml +++ b/codenarc-converter/pom.xml @@ -5,7 +5,7 @@ io.ecocode ecocode-android-parent - 1.1.1-SNAPSHOT + 1.2.1-SNAPSHOT sonar-codenarc-converter