Building against SDK 21

robolectric-error
Bradlee Speice 2014-11-09 21:13:07 -05:00
parent d7e9dd34c9
commit fbc7e9a681
1 changed files with 8 additions and 9 deletions

View File

@ -15,12 +15,12 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
android { android {
compileSdkVersion 20 compileSdkVersion 21
buildToolsVersion '20.0.0' buildToolsVersion '21.0.2'
defaultConfig { defaultConfig {
applicationId 'org.bspeice.minimalbible' applicationId 'org.bspeice.minimalbible'
minSdkVersion 8 minSdkVersion 8
targetSdkVersion 20 targetSdkVersion 21
versionCode 1 versionCode 1
versionName '1.0' versionName '1.0'
} }
@ -46,12 +46,12 @@ android {
testConfig { testConfig {
minSdkVersion 8 minSdkVersion 8
applicationId 'org.bspeice.minimalbible' applicationId 'org.bspeice.minimalbible'
targetSdkVersion 20 targetSdkVersion 21
} }
mainConfig { mainConfig {
minSdkVersion 8 minSdkVersion 8
applicationId 'org.bspeice.minimalbible' applicationId 'org.bspeice.minimalbible'
targetSdkVersion 20 targetSdkVersion 21
} }
} }
sourceSets { sourceSets {
@ -65,14 +65,13 @@ dependencies {
compile 'com.squareup.dagger:dagger:+' compile 'com.squareup.dagger:dagger:+'
provided 'com.squareup.dagger:dagger-compiler:+' provided 'com.squareup.dagger:dagger-compiler:+'
// TODO: Figure out why I need to force 2.1.0 and can't just use + compile 'de.devland.esperandro:esperandro-api:+'
compile 'de.devland.esperandro:esperandro-api:2.1.0' provided 'de.devland.esperandro:esperandro:+'
provided 'de.devland.esperandro:esperandro:2.1.0'
compile 'com.jakewharton:butterknife:+' compile 'com.jakewharton:butterknife:+'
compile 'com.readystatesoftware.systembartint:systembartint:+' compile 'com.readystatesoftware.systembartint:systembartint:+'
compile 'com.netflix.rxjava:rxjava-android:+' compile 'com.netflix.rxjava:rxjava-android:+'
compile 'com.android.support:appcompat-v7:20.+' compile 'com.android.support:appcompat-v7:21.+'
compile 'org.apache.commons:commons-lang3:+' compile 'org.apache.commons:commons-lang3:+'
compile 'com.google.code.gson:gson:+' compile 'com.google.code.gson:gson:+'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"