Joao Birk
11/10/2020, 6:28 PMbuild.gradle
using plugin id 'com.android.dynamic-feature'
and `plugin id `kotlin-android``Im able to set : buildFeatures.dataBinding = true
converting it to Kotlin DSL build.gradle.kts
and using buildFeatures.dataBinding = true
says dataBinding
is non existent, I only see viewBinding
: https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/dsl/BuildFeatures
Does that mean I still need to use the deprecated way (dataBinding.isEnabled = true
) on DSL? WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.
Yahor
11/16/2020, 7:43 PM