mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-14 12:08:47 -05:00
6c8f92e742
This reverts commit 51a3dd3eac
.
88 lines
2.5 KiB
Groovy
88 lines
2.5 KiB
Groovy
buildscript {
|
|
ext.kotlin_version = '0.9.206'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
apply plugin: 'android-sdk-manager'
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 21
|
|
buildToolsVersion '21.0.2'
|
|
defaultConfig {
|
|
applicationId 'org.bspeice.minimalbible'
|
|
minSdkVersion 8
|
|
targetSdkVersion 21
|
|
versionCode 1
|
|
versionName '1.0'
|
|
}
|
|
buildTypes {
|
|
release {
|
|
runProguard false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
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'
|
|
exclude 'META-INF/INDEX.LIST'
|
|
exclude 'LICENSE'
|
|
exclude 'NOTICE'
|
|
exclude 'asm-license.txt'
|
|
}
|
|
productFlavors {
|
|
testConfig {
|
|
minSdkVersion 8
|
|
applicationId 'org.bspeice.minimalbible'
|
|
targetSdkVersion 21
|
|
}
|
|
mainConfig {
|
|
minSdkVersion 8
|
|
applicationId 'org.bspeice.minimalbible'
|
|
targetSdkVersion 21
|
|
}
|
|
}
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile project(path: ':jsword-minimalbible', configuration: 'buildJSword')
|
|
|
|
compile 'com.squareup.dagger:dagger:+'
|
|
provided 'com.squareup.dagger:dagger-compiler:+'
|
|
|
|
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: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:+'
|
|
androidTestCompile 'org.mockito:mockito-core:+'
|
|
androidTestCompile 'com.google.dexmaker:dexmaker:+'
|
|
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:+'
|
|
|
|
// Email debug reports if I crash...
|
|
testConfigCompile('ch.acra:acra:+') {
|
|
exclude module: 'json'
|
|
}
|
|
} |