Created
April 4, 2016 02:33
-
-
Save rickyngk/90c9ac5ed247a89d1a9d71b81639ad24 to your computer and use it in GitHub Desktop.
Enable data binding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.1" | |
defaultConfig { | |
applicationId "com.rickyngk.databinding.sample1" | |
minSdkVersion 8 | |
targetSdkVersion 23 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
dataBinding { | |
enabled = true | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
testCompile 'junit:junit:4.12' | |
compile 'com.android.support:appcompat-v7:23.2.1' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment