2014-07-05 11:12:37 -04:00
|
|
|
buildscript {
|
2014-09-09 23:31:32 -04:00
|
|
|
ext.kotlin_version = '0.8.11'
|
|
|
|
|
2014-07-05 11:12:37 -04:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
2014-09-01 23:01:08 -04: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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
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 {
|
2014-09-13 00:15:17 -04:00
|
|
|
minSdkVersion 8
|
2014-07-05 10:35:55 -04:00
|
|
|
applicationId 'org.bspeice.minimalbible'
|
|
|
|
targetSdkVersion 20
|
|
|
|
}
|
|
|
|
mainConfig {
|
2014-09-13 00:15:17 -04:00
|
|
|
minSdkVersion 8
|
2014-07-05 10:35:55 -04:00
|
|
|
applicationId 'org.bspeice.minimalbible'
|
|
|
|
targetSdkVersion 20
|
|
|
|
}
|
|
|
|
}
|
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-09-01 07:58:33 -04:00
|
|
|
// TODO: Figure out why I need to force 2.1.0 and can't just use +
|
|
|
|
compile 'de.devland.esperandro:esperandro-api:2.1.0'
|
|
|
|
provided 'de.devland.esperandro:esperandro:2.1.0'
|
2014-08-09 19:34:31 -04:00
|
|
|
|
|
|
|
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-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-09-12 22:36:53 -04:00
|
|
|
testConfigCompile('ch.acra:acra:+') {
|
|
|
|
exclude module: 'json'
|
|
|
|
}
|
2014-09-07 21:27:41 -04:00
|
|
|
}
|