diff --git a/app/build.gradle b/app/build.gradle index fce6350..68d1539 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -49,6 +49,10 @@ android { testOptions { animationsDisabled = true } + + buildFeatures { + buildConfig = true + } } diff --git a/gradle.properties b/gradle.properties index f3353b4..de63fea 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,5 +19,4 @@ android.useAndroidX=true # 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.defaults.buildfeatures.buildconfig=true android.nonFinalResIds=false \ No newline at end of file diff --git a/modules/common/build.gradle b/modules/common/build.gradle index b34127d..f8cb2ca 100644 --- a/modules/common/build.gradle +++ b/modules/common/build.gradle @@ -24,6 +24,9 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } + buildFeatures { + buildConfig = true + } } dependencies { diff --git a/modules/ncalc-editor/build.gradle b/modules/ncalc-editor/build.gradle index 9d0cdc6..d308dfe 100644 --- a/modules/ncalc-editor/build.gradle +++ b/modules/ncalc-editor/build.gradle @@ -26,6 +26,10 @@ android { lint { disable 'MissingTranslation' } + + buildFeatures { + buildConfig = true + } } dependencies {