Christopher Elías
12/10/2020, 12:55 PMapply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'
apply plugin: 'kotlin-kapt' //THIS IS IMPORTANT FOR GENERATE THE CLASSES FROM DATABINDING
android {
defaultConfig {
....
}
...
kotlinOptions.jvmTarget = "1.8"
}
dependencies {
...
}
Make sure you add the 'kotlin-kapt'
plugin at the top and with that you should be running the project without problems