diff --git a/app/build.gradle b/app/build.gradle index 9cc57d3..7376f7c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,6 +5,8 @@ apply plugin: 'kotlin-android-extensions' +apply plugin: 'kotlin-kapt' // Add this line + android { compileSdkVersion 27 defaultConfig { @@ -21,6 +23,9 @@ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + dataBinding { + enabled = true + } } dependencies { @@ -33,5 +38,7 @@ androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + kapt "com.android.databinding:compiler:3.2.0-alpha10" // Add this line + implementation 'com.android.support:recyclerview-v7:27.1.1' }