From 06ae1c0ed670336788027af758e9fdcc0d13eda0 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Thu, 20 Nov 2014 23:18:36 -0500 Subject: [PATCH] Also add in the gradle build for flavors to variants --- app/build.gradle | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 83a50c7..9ee945a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' } } \ No newline at end of file