Migrate BuildConfig to Gradle Build Files (#4049)

- Addresses the following warning: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated. Each module uses the BuildConfig class so it's added everywhere.
This commit is contained in:
Joris Pelgröm 2023-12-15 18:46:48 +01:00 committed by GitHub
parent 857cf46609
commit 62414e4cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,7 @@ android {
buildFeatures {
viewBinding = true
compose = true
buildConfig = true
}
composeOptions {

View File

@ -75,6 +75,7 @@ android {
buildFeatures {
viewBinding = true
compose = true
buildConfig = true
}
composeOptions {

View File

@ -28,6 +28,10 @@ android {
}
}
buildFeatures {
buildConfig = true
}
kotlinOptions {
jvmTarget = libs.versions.javaVersion.get()
}

View File

@ -27,5 +27,4 @@ org.gradle.vfs.watch=true
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false

View File

@ -24,6 +24,7 @@ android {
buildFeatures {
viewBinding = true
compose = true
buildConfig = true
}
composeOptions {