android { ...I'm trying to enalbe ViewBinding in my project witch use Kotlin Gradle DSL. All examples show how to do it with Groovy DSL.
android {
...
viewBinding {
enabled = true
}
}
But this solution isn't works with Kotlin DSL. I was trying solution like this:
android {
...
viewBinding.enabled = true
}
But it also doesn't work. It's interesting, that this approach works for DataBinding.