From a80e4501a074ed045c256d1a217b17213a1e05a7 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 16 Jun 2023 18:09:09 +0530 Subject: [PATCH] Switch to buildFeatures for enabling buildConfig generation Signed-off-by: Aayush Gupta --- app/build.gradle | 1 + gradle.properties | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 58c10ee2d..6db0af9e4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -74,6 +74,7 @@ android { } buildFeatures { + buildConfig true viewBinding true aidl true } diff --git a/gradle.properties b/gradle.properties index 0cbc0d566..3ba9737f6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -49,6 +49,5 @@ android.lifecycleProcessor.incremental=true # turn off AP discovery in compile path, and therefore turn on Compile Avoidance kapt.include.compile.classpath=false android.enableR8.fullMode=false -android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false