blob: d9da11933d092c971dee823cc41d7f382a4c3cdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
apply plugin: 'com.android.application'
apply plugin: 'com.android.databinding'
android {
compileSdkVersion 21
buildToolsVersion "22"
defaultConfig {
applicationId "com.android.databinding.testapp"
minSdkVersion 7
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/services/javax.annotation.processing.Processor'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.android.databinding:library:${config.snapshotVersion}"
compile "com.android.databinding:adapters:${config.snapshotVersion}"
compile "com.android.support:support-v4:+"
provided "com.android.databinding:annotationprocessor:${config.snapshotVersion}"
}
|