blob: 1de97e4ce794be65f65fa3289f2ba28a3088e7b7 [file] [log] [blame]
Adrien Béraudb00ed3f2015-06-07 15:36:06 -04001apply plugin: 'com.android.application'
2
Adrien Béraudb00ed3f2015-06-07 15:36:06 -04003dependencies {
Adrien Béraudb179bab2015-10-08 12:04:22 -04004 compile fileTree(include: '*.jar', dir: 'libs')
Adrien Béraudb00ed3f2015-06-07 15:36:06 -04005 compile 'com.j256.ormlite:ormlite-core:4.48'
6 compile 'com.j256.ormlite:ormlite-android:4.48'
Adrien Béraud67ec13c2015-11-19 11:51:16 -05007 compile 'com.android.support:support-v13:23.1.+'
8 compile 'com.android.support:design:23.1.+'
9 compile 'com.android.support:cardview-v7:23.1.+'
Adrien Béraud2457c332015-11-19 11:53:26 -050010 compile 'com.android.support:preference-v14:23.1.+'
Adrien Béraudc5aa8132016-02-04 18:29:07 -050011 compile 'com.android.support:recyclerview-v7:23.1.+'
Adrien Béraud6d881d92015-06-17 16:22:23 -040012 compile 'com.jayway.android.robotium:robotium-solo:5.4.1'
Adrien Béraudb00ed3f2015-06-07 15:36:06 -040013 compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
Adrien Béraudb179bab2015-10-08 12:04:22 -040014 compile 'com.googlecode.libphonenumber:libphonenumber:7.0.11'
15 compile 'se.emilsjolander:stickylistheaders:2.7.+'
Alexander Zahdeh6408ad92016-02-23 18:32:47 -060016 compile 'com.google.zxing:core:3.2.1'
17 compile 'com.google.zxing:android-integration:3.2.1'
Adrien Béraudb00ed3f2015-06-07 15:36:06 -040018}
19
20android {
Adrien Béraudb179bab2015-10-08 12:04:22 -040021 compileSdkVersion 23
Adrien Béraud67ec13c2015-11-19 11:51:16 -050022 buildToolsVersion "23.0.2"
Adrien Béraudb00ed3f2015-06-07 15:36:06 -040023 sourceSets {
24 main {
25 aidl.srcDirs = ['src/main/java']
26 jniLibs.srcDir 'src/main/libs'
27 jni.srcDirs = []
28 }
29
30 // Move the tests to tests/java, tests/res, etc...
31 instrumentTest.setRoot('tests')
32
33 // Move the build types to build-types/<type>
34 // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
35 // This moves them out of them default location under src/<type>/... which would
36 // conflict with src/ being used by the main source set.
37 // Adding new build types or product flavors should be accompanied
38 // by a similar customization.
39 debug.setRoot('build-types/debug')
40 release.setRoot('build-types/release')
41 }
Adrien Béraudb179bab2015-10-08 12:04:22 -040042 compileOptions {
43 sourceCompatibility JavaVersion.VERSION_1_7
44 targetCompatibility JavaVersion.VERSION_1_7
45 }
Adrien Béraud12b8ddc2015-11-19 14:09:33 -050046 buildTypes {
47 release {
48 minifyEnabled true
Adrien Béraudcf2225d2015-11-21 20:54:14 -050049 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
Adrien Béraud12b8ddc2015-11-19 14:09:33 -050050 }
51 }
52 signingConfigs {
53 config {
54 keyAlias 'ring'
55 storeFile file('../keystore.bin')
56 }
57 }
58 lintOptions {
59 disable 'MissingTranslation'
60 }
Adrien Béraudb00ed3f2015-06-07 15:36:06 -040061}