diff --git a/platforms/android/gradle.properties b/platforms/android/gradle.properties index 9bf08f0d..8efe00e9 100644 --- a/platforms/android/gradle.properties +++ b/platforms/android/gradle.properties @@ -21,7 +21,6 @@ kotlin.code.style=official # 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 d89811d9..73001d86 100644 --- a/platforms/android/samples/MobileBuyIntegration/gradle.properties +++ b/platforms/android/samples/MobileBuyIntegration/gradle.properties @@ -3,11 +3,10 @@ android.useAndroidX=true android.enableJettifier=true kotlin.code.style=official 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 -# opt-outs here so the shared build applies the Kotlin plugin cleanly. See -# /gradle.properties for the full rationale and exit triggers. +# The sample composite includes the :lib project, which is pinned to Kotlin 1.9.23 +# for consumer compatibility. That pin requires matching the library's AGP 9 +# opt-outs so the shared build can apply the Kotlin plugin cleanly. Both +# opt-outs will be removed in AGP 10 — see /gradle.properties for full context. +# Revisit alongside the next major library release. android.builtInKotlin=false android.newDsl=false