Skip to content

Commit

Permalink
Enable buildConfig in gradle files
Browse files Browse the repository at this point in the history
  • Loading branch information
duy committed Aug 30, 2024
1 parent b109ea6 commit e14d0a2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ android {
testOptions {
animationsDisabled = true
}

buildFeatures {
buildConfig = true
}
}


Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions modules/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
4 changes: 4 additions & 0 deletions modules/ncalc-editor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ android {
lint {
disable 'MissingTranslation'
}

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down

0 comments on commit e14d0a2

Please sign in to comment.