Created
May 30, 2015 21:25
-
-
Save patrykpoborca/fec40b74c5cbf96fc40a to your computer and use it in GitHub Desktop.
Data binding manifests
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
build.gradle (Project) | |
---------------------------------------------------------------------- | |
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:1.3.+' | |
classpath "com.android.databinding:dataBinder:1.0-rc0" | |
// NOTE: Do not place your application dependencies here; they belong | |
// in the individual module build.gradle files | |
} | |
} | |
allprojects { | |
repositories { | |
jcenter() | |
} | |
} | |
---------------------------------------------------------------------- | |
build.graddle (APP) | |
---------------------------------------------------------------------- | |
apply plugin: 'com.android.application' | |
apply plugin: 'com.android.databinding' | |
android { | |
compileSdkVersion 22 | |
buildToolsVersion "23.0.0 rc1" | |
defaultConfig { | |
applicationId "com.example.ppoborca.bindingtester" | |
minSdkVersion 22 | |
targetSdkVersion 22 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment