From 46f32f7bf704f79795f261a990f1d1655c8afc04 Mon Sep 17 00:00:00 2001 From: Daniel Kift Date: Wed, 13 May 2026 11:37:38 +0100 Subject: [PATCH] drop deprecated android.nonFinalResIds opt-out AGP 9 deprecates the android.nonFinalResIds option and will remove it in AGP 10; the new default is true (non-final R-class constants). Library is a Kotlin-only consumer with no Java switch statements on R.*, so flipping to the default is a no-op for both lib/ and the sample. --- platforms/android/gradle.properties | 1 - platforms/android/samples/MobileBuyIntegration/gradle.properties | 1 - 2 files changed, 2 deletions(-) diff --git a/platforms/android/gradle.properties b/platforms/android/gradle.properties index 4d2e78bc..05860155 100644 --- a/platforms/android/gradle.properties +++ b/platforms/android/gradle.properties @@ -25,7 +25,6 @@ kotlin.stdlib.default.dependency=false # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true -android.nonFinalResIds=false # ----------------------------------------------------------------------------- # AGP 9 opt-outs — driven by API-validation tooling, NOT by Kotlin compiler version. # diff --git a/platforms/android/samples/MobileBuyIntegration/gradle.properties b/platforms/android/samples/MobileBuyIntegration/gradle.properties index ce07ec41..aad054f2 100644 --- a/platforms/android/samples/MobileBuyIntegration/gradle.properties +++ b/platforms/android/samples/MobileBuyIntegration/gradle.properties @@ -4,7 +4,6 @@ android.enableJettifier=true kotlin.code.style=official kotlin.stdlib.default.dependency=false android.nonTransitiveRClass=true -android.nonFinalResIds=false # The sample composite includes the :lib project, which uses the explicit # `org.jetbrains.kotlin.android` plugin because the AGP 9 built-in Kotlin path # isn't yet supported by our API-validation tooling (BCV). Match those AGP