Merge pull request #277 from zcash/fix/update-view-binding

Fix: Update the view binding DSL.
This commit is contained in:
Kevin Gorham 2021-07-19 10:40:18 -04:00 committed by GitHub
commit 3400033944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,6 @@ android {
ndkVersion "21.1.6352462"
compileSdkVersion Deps.compileSdkVersion
buildToolsVersion Deps.buildToolsVersion
viewBinding.enabled = true
defaultConfig {
applicationId Deps.packageName
minSdkVersion Deps.minSdkVersion
@ -30,6 +29,9 @@ android {
// per https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.VectorDrawablesOptions.html: If set to an empty collection, all special handling of vector drawables will be disabled.
vectorDrawables.generatedDensities = []
}
buildFeatures {
viewBinding true
}
flavorDimensions 'network'
productFlavors {
// would rather name them "testnet" and "mainnet" but product flavor names cannot start with the word "test"