Skip to content

Commit

Permalink
Switch to buildFeatures for BuildConfig flag.
Browse files Browse the repository at this point in the history
gradle.properties, afaict, can't be applied per module. Once these are
all in one giant project we want to apply this property at a finer scope
than globally, so move it to buildFeatures, which are preferred anyway.
  • Loading branch information
DanAlbert committed May 7, 2024
1 parent 47e515d commit 3a63f16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions native-audio/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ android {
}
}
namespace 'com.example.nativeaudio'

buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
1 change: 0 additions & 1 deletion native-audio/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
android.defaults.buildfeatures.buildconfig=true
android.enableJetifier=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false
Expand Down

0 comments on commit 3a63f16

Please sign in to comment.