2014-07-05 11:12:37 -04:00
|
|
|
buildscript {
|
2014-11-07 23:27:06 -05:00
|
|
|
ext.kotlin_version = '0.9.206'
|
2014-09-09 23:31:32 -04:00
|
|
|
|
2014-07-05 11:12:37 -04:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2014-11-09 23:55:23 -05:00
|
|
|
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
|
2014-09-09 23:31:32 -04:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2014-07-05 11:12:37 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-09 23:55:23 -05:00
|
|
|
apply plugin: 'android-sdk-manager'
|
2014-07-04 22:09:25 -04:00
|
|
|
apply plugin: 'com.android.application'
|
2014-09-09 23:31:32 -04:00
|
|
|
apply plugin: 'kotlin-android'
|
2014-07-04 22:09:25 -04:00
|
|
|
|
|
|
|
android {
|
2014-11-09 21:13:07 -05:00
|
|
|
compileSdkVersion 21
|
|
|
|
buildToolsVersion '21.0.2'
|
2014-07-04 22:09:25 -04:00
|
|
|
defaultConfig {
|
2014-07-05 10:35:55 -04:00
|
|
|
applicationId 'org.bspeice.minimalbible'
|
2014-07-04 22:09:25 -04:00
|
|
|
minSdkVersion 8
|
2014-11-09 21:13:07 -05:00
|
|
|
targetSdkVersion 21
|
2014-07-04 22:09:25 -04:00
|
|
|
versionCode 1
|
2014-07-05 10:35:55 -04:00
|
|
|
versionName '1.0'
|
2014-07-04 22:09:25 -04:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2014-11-09 23:55:20 -05:00
|
|
|
runProguard false
|
2014-07-04 22:09:25 -04:00
|
|
|
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-11-06 19:57:13 -05:00
|
|
|
productFlavors {
|
|
|
|
testConfig {
|
|
|
|
minSdkVersion 8
|
|
|
|
applicationId 'org.bspeice.minimalbible'
|
2014-11-09 21:13:07 -05:00
|
|
|
targetSdkVersion 21
|
2014-11-06 19:57:13 -05:00
|
|
|
}
|
|
|
|
mainConfig {
|
|
|
|
minSdkVersion 8
|
|
|
|
applicationId 'org.bspeice.minimalbible'
|
2014-11-09 21:13:07 -05:00
|
|
|
targetSdkVersion 21
|
2014-11-06 19:57:13 -05:00
|
|
|
}
|
|
|
|
}
|
2014-09-07 21:27:41 -04:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
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-09-01 07:58:33 -04:00
|
|
|
compile 'com.squareup.dagger:dagger:+'
|
|
|
|
provided 'com.squareup.dagger:dagger-compiler:+'
|
2014-07-05 11:12:37 -04:00
|
|
|
|
2014-11-09 21:13:07 -05:00
|
|
|
compile 'de.devland.esperandro:esperandro-api:+'
|
|
|
|
provided 'de.devland.esperandro:esperandro:+'
|
2014-08-09 19:34:31 -04:00
|
|
|
|
|
|
|
compile 'com.jakewharton:butterknife:+'
|
|
|
|
compile 'com.readystatesoftware.systembartint:systembartint:+'
|
|
|
|
compile 'com.netflix.rxjava:rxjava-android:+'
|
2014-11-09 21:13:07 -05:00
|
|
|
compile 'com.android.support:appcompat-v7:21.+'
|
2014-08-22 19:53:57 -04:00
|
|
|
compile 'org.apache.commons:commons-lang3:+'
|
2014-09-01 14:32:13 -04:00
|
|
|
compile 'com.google.code.gson:gson:+'
|
2014-09-09 23:31:32 -04:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
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-09-07 21:27:41 -04:00
|
|
|
|
2014-09-12 22:23:48 -04:00
|
|
|
// Email debug reports if I crash...
|
2014-11-06 19:57:13 -05:00
|
|
|
testConfigCompile('ch.acra:acra:+') {
|
2014-09-12 22:36:53 -04:00
|
|
|
exclude module: 'json'
|
|
|
|
}
|
2014-09-07 21:27:41 -04:00
|
|
|
}
|