I am trying to add view binding to a second module...
# android-databinding
r
I am trying to add view binding to a second module in my project like this
Copy code
android {

    lintOptions {
        isWarningsAsErrors = true
        isAbortOnError = true
    }

    buildFeatures {
        viewBinding = true
    }

}
I have a common android gradle file that configures alot of other android stuff which allows this android block to be really small. i keep getting this error
Copy code
e: /Users/amesbub/workspace/android/components/build.gradle.kts:40:5: Unresolved reference: buildFeatures
e: /Users/amesbub/workspace/android/components/build.gradle.kts:41:9: Unresolved reference: viewBinding
I am applying
Copy code
id("com.android.library")