mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-04 23:28:19 -05:00
Also add in the gradle build for flavors to variants
This commit is contained in:
parent
f51a2515b0
commit
06ae1c0ed6
@ -2,12 +2,8 @@ buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'android-sdk-manager'
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
@ -39,18 +35,6 @@ android {
|
||||
exclude 'NOTICE'
|
||||
exclude 'asm-license.txt'
|
||||
}
|
||||
productFlavors {
|
||||
testConfig {
|
||||
minSdkVersion 8
|
||||
applicationId 'org.bspeice.minimalbible'
|
||||
targetSdkVersion 20
|
||||
}
|
||||
mainConfig {
|
||||
minSdkVersion 8
|
||||
applicationId 'org.bspeice.minimalbible'
|
||||
targetSdkVersion 20
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
main.java.srcDirs += 'src/main/kotlin'
|
||||
}
|
||||
@ -78,7 +62,7 @@ dependencies {
|
||||
androidTestCompile 'org.mockito:mockito-core:+'
|
||||
|
||||
// Email debug reports if I crash...
|
||||
testConfigCompile('ch.acra:acra:+') {
|
||||
debugCompile('ch.acra:acra:+') {
|
||||
exclude module: 'json'
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user