From 58d7e54bb4507d1ae640f789275fdc685b53c72e Mon Sep 17 00:00:00 2001 From: Tim Froehlich Date: Mon, 27 Apr 2026 14:38:20 -0500 Subject: [PATCH] feat(oss-licenses): bump version to 0.12.0 and re-apply debug variant fix - Updated plugin version to 0.12.0. - Re-applied visibility fix for addDebugLicense (protected instead of private) to resolve 'Could not find method' errors in debug variants with product flavors. (Accidentally reverted in a previous refactor). - Verified with unit tests. --- oss-licenses-plugin/build.gradle.kts | 2 +- .../google/android/gms/oss/licenses/plugin/LicensesTask.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oss-licenses-plugin/build.gradle.kts b/oss-licenses-plugin/build.gradle.kts index b93ac14..1070378 100644 --- a/oss-licenses-plugin/build.gradle.kts +++ b/oss-licenses-plugin/build.gradle.kts @@ -25,7 +25,7 @@ plugins { } group = "com.google.android.gms" -version = "0.11.0" +version = "0.12.0" repositories { google() diff --git a/oss-licenses-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy b/oss-licenses-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy index 6173307..7cf093a 100644 --- a/oss-licenses-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy +++ b/oss-licenses-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy @@ -151,7 +151,7 @@ abstract class LicensesTask extends DefaultTask { artifactInfoSet.asImmutable() } - private void addDebugLicense() { + protected void addDebugLicense() { appendDependency( ABSENT_DEPENDENCY_KEY, ABSENT_DEPENDENCY_TEXT.getBytes(UTF_8)