Generate buildConfig only for app module

This commit is contained in:
Shinokuni 2020-11-22 23:20:48 +01:00
parent f6f65d2048
commit 6647a9bb2c
2 changed files with 2 additions and 4 deletions

View File

@ -50,6 +50,7 @@ android {
buildFeatures { buildFeatures {
viewBinding true viewBinding true
buildConfig true
} }
} }

View File

@ -12,9 +12,6 @@ org.gradle.jvmargs=-Xmx1536m
android.databinding.incremental=true android.databinding.incremental=true
kapt.incremental.apt=true kapt.incremental.apt=true
org.gradle.parallel=true org.gradle.parallel=true
# When configured, Gradle will run in incubating parallel mode. android.defaults.buildfeatures.buildconfig=false
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true