From 6038dd892c74c35303252875e71114808d1abed7 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 1 Dec 2023 17:37:35 +0100 Subject: [PATCH] Migrate BuildConfig to Gradle Build Files Signed-off-by: Andy Scherzinger --- app/build.gradle | 4 ++++ gradle.properties | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 6e180a837f..dd57414dda 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -126,6 +126,10 @@ android { } } + buildFeatures { + buildConfig = true + } + productFlavors { // used for f-droid generic { diff --git a/gradle.properties b/gradle.properties index 5b47fafb59..81ac216772 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,6 @@ NC_TEST_SERVER_USERNAME=test NC_TEST_SERVER_PASSWORD=test android.enableJetifier=true android.useAndroidX=true -android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false android.nonFinalResIds=false #android.debug.obsoleteApi=true