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'
android {
compileSdkVersion 20
buildToolsVersion '20.0.0'
compileSdkVersion 21
buildToolsVersion '21.0.2'
defaultConfig {
applicationId 'org.bspeice.minimalbible'
minSdkVersion 8
targetSdkVersion 20
targetSdkVersion 21
versionCode 1
versionName '1.0'
}
@ -46,12 +46,12 @@ android {
testConfig {
minSdkVersion 8
applicationId 'org.bspeice.minimalbible'
targetSdkVersion 20
targetSdkVersion 21
}
mainConfig {
minSdkVersion 8
applicationId 'org.bspeice.minimalbible'
targetSdkVersion 20
targetSdkVersion 21
}
}
sourceSets {
@ -65,14 +65,13 @@ dependencies {
compile 'com.squareup.dagger:dagger:+'
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:2.1.0'
provided 'de.devland.esperandro:esperandro:2.1.0'
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:20.+'
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"