[add] kotlin-kapt, DataBinding
1 parent 89ef842 commit c79df4ccdbed2167125b57ac7a545a331c815ebe
KeijuMatsumoto authored on 1 Nov 2017
Showing 1 changed file
View
8
app/build.gradle
 
apply plugin: 'kotlin-android'
 
apply plugin: 'kotlin-android-extensions'
 
apply plugin: 'kotlin-kapt'
 
android {
compileSdkVersion 26
defaultConfig {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dataBinding {
enabled = true;
}
}
 
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
 
// DataBinding
kapt "com.android.databinding:compiler:3.0.0"
 
// Android Architecture Components for Lifecycles, LiveData, and ViewModel
implementation "android.arch.lifecycle:runtime:1.0.3"
implementation "android.arch.lifecycle:extensions:1.0.0-rc1"
annotationProcessor "android.arch.lifecycle:compiler:1.0.0-rc1"