blob: dc6e374d9edcdefd01c4e77dddc5ac49bc6568c5 [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éraud6d881d92015-06-17 16:22:23 -040011 compile 'com.jayway.android.robotium:robotium-solo:5.4.1'
Adrien Béraudb00ed3f2015-06-07 15:36:06 -040012 compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
Adrien Béraudb179bab2015-10-08 12:04:22 -040013 compile 'com.googlecode.libphonenumber:libphonenumber:7.0.11'
14 compile 'se.emilsjolander:stickylistheaders:2.7.+'
Adrien Béraudb00ed3f2015-06-07 15:36:06 -040015}
16
17android {
Adrien Béraudb179bab2015-10-08 12:04:22 -040018 compileSdkVersion 23
Adrien Béraud67ec13c2015-11-19 11:51:16 -050019 buildToolsVersion "23.0.2"
Adrien Béraudb00ed3f2015-06-07 15:36:06 -040020 sourceSets {
21 main {
22 aidl.srcDirs = ['src/main/java']
23 jniLibs.srcDir 'src/main/libs'
24 jni.srcDirs = []
25 }
26
27 // Move the tests to tests/java, tests/res, etc...
28 instrumentTest.setRoot('tests')
29
30 // Move the build types to build-types/<type>
31 // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
32 // This moves them out of them default location under src/<type>/... which would
33 // conflict with src/ being used by the main source set.
34 // Adding new build types or product flavors should be accompanied
35 // by a similar customization.
36 debug.setRoot('build-types/debug')
37 release.setRoot('build-types/release')
38 }
Adrien Béraudb179bab2015-10-08 12:04:22 -040039 compileOptions {
40 sourceCompatibility JavaVersion.VERSION_1_7
41 targetCompatibility JavaVersion.VERSION_1_7
42 }
Adrien Béraud12b8ddc2015-11-19 14:09:33 -050043 buildTypes {
44 release {
45 minifyEnabled true
Adrien Béraudcf2225d2015-11-21 20:54:14 -050046 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
Adrien Béraud12b8ddc2015-11-19 14:09:33 -050047 }
48 }
49 signingConfigs {
50 config {
51 keyAlias 'ring'
52 storeFile file('../keystore.bin')
53 }
54 }
55 lintOptions {
56 disable 'MissingTranslation'
57 }
Adrien Béraudb00ed3f2015-06-07 15:36:06 -040058}