Adrien Béraud | b00ed3f | 2015-06-07 15:36:06 -0400 | [diff] [blame] | 1 | apply plugin: 'com.android.application' |
| 2 | |
Adrien Béraud | b00ed3f | 2015-06-07 15:36:06 -0400 | [diff] [blame] | 3 | dependencies { |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 4 | compile fileTree(include: '*.jar', dir: 'libs') |
Adrien Béraud | b00ed3f | 2015-06-07 15:36:06 -0400 | [diff] [blame] | 5 | compile 'com.j256.ormlite:ormlite-core:4.48' |
| 6 | compile 'com.j256.ormlite:ormlite-android:4.48' |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 7 | compile 'com.android.support:support-v13:23.0.+' |
| 8 | compile 'com.android.support:design:23.0.+' |
Adrien Béraud | a416c74 | 2015-10-21 17:12:39 -0400 | [diff] [blame] | 9 | compile 'com.android.support:cardview-v7:23.0.+' |
Adrien Béraud | 6d881d9 | 2015-06-17 16:22:23 -0400 | [diff] [blame] | 10 | compile 'com.jayway.android.robotium:robotium-solo:5.4.1' |
Adrien Béraud | b00ed3f | 2015-06-07 15:36:06 -0400 | [diff] [blame] | 11 | compile 'com.astuetz:pagerslidingtabstrip:1.0.1' |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 12 | compile 'com.googlecode.libphonenumber:libphonenumber:7.0.11' |
| 13 | compile 'se.emilsjolander:stickylistheaders:2.7.+' |
Adrien Béraud | b00ed3f | 2015-06-07 15:36:06 -0400 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | android { |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 17 | compileSdkVersion 23 |
| 18 | buildToolsVersion "23.0.1" |
Adrien Béraud | b00ed3f | 2015-06-07 15:36:06 -0400 | [diff] [blame] | 19 | |
| 20 | 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éraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 39 | compileOptions { |
| 40 | sourceCompatibility JavaVersion.VERSION_1_7 |
| 41 | targetCompatibility JavaVersion.VERSION_1_7 |
| 42 | } |
Adrien Béraud | b00ed3f | 2015-06-07 15:36:06 -0400 | [diff] [blame] | 43 | } |