2014-07-05 11:12:37 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.10.+'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'android-sdk-manager'
|
2014-07-04 22:09:25 -04:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 20
|
|
|
|
buildToolsVersion '20.0.0'
|
|
|
|
defaultConfig {
|
2014-07-05 10:35:55 -04:00
|
|
|
applicationId 'org.bspeice.minimalbible'
|
2014-07-04 22:09:25 -04:00
|
|
|
minSdkVersion 8
|
|
|
|
targetSdkVersion 20
|
|
|
|
versionCode 1
|
2014-07-05 10:35:55 -04:00
|
|
|
versionName '1.0'
|
2014-07-04 22:09:25 -04:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
runProguard false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2014-07-04 22:25:35 -04:00
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/LICENSE.txt'
|
|
|
|
exclude 'META-INF/NOTICE.txt'
|
|
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
|
|
exclude 'META-INF/LICENSE'
|
|
|
|
exclude 'META-INF/NOTICE'
|
2014-07-09 21:14:23 -04:00
|
|
|
exclude 'LICENSE.txt'
|
2014-07-20 21:12:00 -04:00
|
|
|
exclude 'META-INF/INDEX.LIST'
|
|
|
|
exclude 'LICENSE'
|
|
|
|
exclude 'NOTICE'
|
|
|
|
exclude 'asm-license.txt'
|
2014-07-04 22:25:35 -04:00
|
|
|
}
|
2014-07-05 10:35:55 -04:00
|
|
|
productFlavors {
|
|
|
|
testConfig {
|
|
|
|
minSdkVersion 8
|
|
|
|
applicationId 'org.bspeice.minimalbible'
|
|
|
|
targetSdkVersion 20
|
|
|
|
}
|
|
|
|
mainConfig {
|
|
|
|
minSdkVersion 8
|
|
|
|
applicationId 'org.bspeice.minimalbible'
|
|
|
|
targetSdkVersion 20
|
|
|
|
}
|
|
|
|
}
|
2014-07-04 22:09:25 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-07-07 22:09:15 -04:00
|
|
|
compile project(path: ':jsword-minimalbible', configuration: 'buildJSword')
|
|
|
|
|
2014-08-09 20:07:38 -04:00
|
|
|
// Not sure why, but using dagger 1.2.2 breaks esperandro's use of JavaWriter.
|
|
|
|
// TODO: Migrate to Dagger 1.2.2
|
|
|
|
compile 'com.squareup.dagger:dagger:1.2.1'
|
|
|
|
provided 'com.squareup.dagger:dagger-compiler:1.2.1'
|
2014-07-05 11:12:37 -04:00
|
|
|
|
2014-08-09 19:34:31 -04:00
|
|
|
compile 'de.devland.esperandro:esperandro-api:+'
|
|
|
|
provided 'de.devland.esperandro:esperandro:+'
|
|
|
|
|
|
|
|
compile 'com.jakewharton:butterknife:+'
|
|
|
|
compile 'com.readystatesoftware.systembartint:systembartint:+'
|
|
|
|
compile 'com.netflix.rxjava:rxjava-android:+'
|
|
|
|
compile 'com.android.support:appcompat-v7:20.+'
|
2014-08-22 19:53:57 -04:00
|
|
|
compile 'org.apache.commons:commons-lang3:+'
|
2014-07-07 22:09:15 -04:00
|
|
|
|
2014-08-09 20:07:38 -04:00
|
|
|
androidTestCompile 'com.jayway.awaitility:awaitility:+'
|
2014-07-20 21:12:00 -04:00
|
|
|
androidTestCompile 'org.mockito:mockito-core:+'
|
|
|
|
androidTestCompile 'com.google.dexmaker:dexmaker:+'
|
|
|
|
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:+'
|
2014-07-04 22:09:25 -04:00
|
|
|
}
|