2014-04-30 01:16:53 -04:00
|
|
|
apply plugin: 'android'
|
2014-05-01 00:03:35 -04:00
|
|
|
apply plugin: 'android-apt'
|
2014-06-14 16:43:21 -04:00
|
|
|
//apply plugin: 'retrolambda'
|
2014-04-30 01:16:53 -04:00
|
|
|
|
2014-05-01 00:03:35 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2014-06-14 18:07:18 -04:00
|
|
|
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.2+'
|
2014-04-30 16:11:18 -04:00
|
|
|
}
|
2014-05-01 00:03:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(path: ':jsword-minimalbible', configuration: 'buildJSword')
|
2014-04-30 01:16:53 -04:00
|
|
|
compile project(':appcompat_v7')
|
2014-05-08 23:47:07 -04:00
|
|
|
apt 'com.squareup.dagger:dagger-compiler:1.2.0'
|
|
|
|
compile 'com.squareup.dagger:dagger:1.2.0'
|
2014-05-05 23:05:56 -04:00
|
|
|
apt 'com.jakewharton:butterknife:5.0.1'
|
|
|
|
compile 'com.jakewharton:butterknife:5.0.1'
|
2014-05-17 00:07:52 -04:00
|
|
|
compile 'de.devland.esperandro:esperandro-api:1.1.2'
|
|
|
|
apt 'de.devland.esperandro:esperandro:1.1.2'
|
2014-05-30 23:23:16 -04:00
|
|
|
// compile 'com.f2prateek.dart:dart:1.1.0'
|
2014-05-01 00:03:35 -04:00
|
|
|
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'
|
2014-06-14 16:43:21 -04:00
|
|
|
compile 'com.netflix.rxjava:rxjava-android:0.19.0'
|
2014-06-14 18:07:18 -04:00
|
|
|
|
2014-05-05 01:06:58 -04:00
|
|
|
// Handled by appcompat
|
|
|
|
// compile 'com.google.android:support-v4:r7'
|
2014-06-14 18:07:18 -04:00
|
|
|
|
2014-05-24 15:11:26 -04:00
|
|
|
// And our unit testing needs some specific stuff (and specific stuff included again)
|
|
|
|
androidTestCompile 'junit:junit:4.11+'
|
2014-05-30 23:23:16 -04:00
|
|
|
androidTestCompile 'com.jayway.awaitility:awaitility:1.6.0'
|
2014-05-24 15:11:26 -04:00
|
|
|
androidTestProvided 'com.squareup.dagger:dagger-compiler:1.2.0'
|
2014-05-01 00:03:35 -04:00
|
|
|
}
|
|
|
|
|
2014-04-30 01:16:53 -04:00
|
|
|
android {
|
|
|
|
compileSdkVersion 19
|
2014-06-27 21:20:53 -04:00
|
|
|
buildToolsVersion '20'
|
2014-04-30 01:16:53 -04:00
|
|
|
sourceSets {
|
|
|
|
main {
|
2014-06-27 21:35:49 -04:00
|
|
|
manifest.srcFile 'src/main/AndroidManifest.xml'
|
2014-05-19 22:34:56 -04:00
|
|
|
java.srcDirs = ['src/main/java']
|
|
|
|
resources.srcDirs = ['src/main/res']
|
2014-04-30 01:16:53 -04:00
|
|
|
aidl.srcDirs = ['src']
|
|
|
|
renderscript.srcDirs = ['src']
|
2014-05-19 22:34:56 -04:00
|
|
|
res.srcDirs = ['src/main/res']
|
|
|
|
assets.srcDirs = ['src/main/assets']
|
2014-04-30 01:16:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Move the tests to tests/java, tests/res, etc...
|
2014-06-27 21:35:49 -04:00
|
|
|
androidTest {
|
|
|
|
manifest.srcFile 'src/test/AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['src/test/java']
|
|
|
|
resources.srcDirs = ['src/test/res']
|
|
|
|
assets.srcDirs = ['src/test/assets']
|
|
|
|
}
|
2014-04-30 01:16:53 -04:00
|
|
|
|
|
|
|
// Move the build types to build-types/<type>
|
|
|
|
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
|
|
|
|
// This moves them out of them default location under src/<type>/... which would
|
|
|
|
// conflict with src/ being used by the main source set.
|
|
|
|
// Adding new build types or product flavors should be accompanied
|
|
|
|
// by a similar customization.
|
|
|
|
debug.setRoot('build-types/debug')
|
|
|
|
release.setRoot('build-types/release')
|
|
|
|
}
|
2014-04-30 12:40:37 -04:00
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/LICENSE.txt'
|
2014-05-24 15:11:26 -04:00
|
|
|
exclude 'LICENSE.txt'
|
2014-04-30 12:40:37 -04:00
|
|
|
exclude 'META-INF/NOTICE.txt'
|
|
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
|
|
exclude 'META-INF/LICENSE'
|
|
|
|
exclude 'META-INF/NOTICE'
|
2014-05-17 01:16:36 -04:00
|
|
|
exclude 'META-INF/services/javax.annotation.processing.Processor'
|
2014-04-30 12:40:37 -04:00
|
|
|
}
|
2014-05-30 21:55:33 -04:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2014-05-19 22:34:56 -04:00
|
|
|
}
|