project中build.gradel配置
```maven{ url 'https://maven.aliyun.com/repository/google'}
maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'}
maven{ url 'https://maven.aliyun.com/repository/public'}
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
jcenter(){ url 'http://jcenter.bintray.com/'}
model中build.gradle配置
支持
plugins {
id ‘com.android.application’
id ‘kotlin-android’
id ‘kotlin-android-extensions’ //支持LiveData、ViewModel
}
//支持双向数据绑定
buildFeatures {
dataBinding = true
}