MinimalBible/app/build.gradle

86 lines
2.4 KiB
Groovy
Raw Normal View History

2014-07-05 11:12:37 -04:00
buildscript {
2014-11-07 23:27:06 -05:00
ext.kotlin_version = '0.9.206'
2014-07-05 11:12:37 -04:00
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2014-07-05 11:12:37 -04:00
}
}
2014-07-04 22:09:25 -04:00
apply plugin: 'com.android.application'
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 {
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
versionName '1.0'
2014-07-04 22:09:25 -04:00
}
buildTypes {
release {
2014-11-09 23:36:55 -05:00
minifyEnabled 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'
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
}
productFlavors {
testConfig {
minSdkVersion 8
applicationId 'org.bspeice.minimalbible'
2014-11-09 21:13:07 -05:00
targetSdkVersion 21
}
mainConfig {
minSdkVersion 8
applicationId 'org.bspeice.minimalbible'
2014-11-09 21:13:07 -05:00
targetSdkVersion 21
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
2014-07-04 22:09:25 -04:00
}
dependencies {
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:+'
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.+'
compile 'org.apache.commons:commons-lang3:+'
compile 'com.google.code.gson:gson:+'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
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-12 22:23:48 -04:00
// Email debug reports if I crash...
testConfigCompile('ch.acra:acra:+') {
exclude module: 'json'
}
}