refactor: buildconfig to dsl

Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
Infi 2024-03-28 03:54:13 +01:00
parent 580f04f84b
commit 564ca74063
2 changed files with 1 additions and 1 deletions

View File

@ -140,6 +140,7 @@ android {
buildFeatures { buildFeatures {
viewBinding true viewBinding true
compose true compose true
buildConfig true
} }
composeOptions { composeOptions {
kotlinCompilerExtensionVersion compose_compiler_version kotlinCompilerExtensionVersion compose_compiler_version

View File

@ -21,6 +21,5 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies, # resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library # thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false android.nonFinalResIds=false
org.gradle.configuration-cache=true org.gradle.configuration-cache=true