diff --git a/template-compose/app/build.gradle.kts b/template-compose/app/build.gradle.kts index 2de01dfca..ed899e49b 100644 --- a/template-compose/app/build.gradle.kts +++ b/template-compose/app/build.gradle.kts @@ -94,6 +94,7 @@ android { buildFeatures { compose = true + buildConfig = true } composeOptions { diff --git a/template-compose/gradle.properties b/template-compose/gradle.properties index a18e078d0..2cbd6d19d 100644 --- a/template-compose/gradle.properties +++ b/template-compose/gradle.properties @@ -21,5 +21,3 @@ 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 -# Disable BuildConfig usage later https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes#default-changes -android.defaults.buildfeatures.buildconfig=true