Fixed the build issue.

Dagger 1.2.2 and Esperandro do not play nice together. Filed issue 25 with Esperandro - https://github.com/dkunzler/esperandro/issues/25
robolectric-error
Bradlee Speice 2014-08-09 20:07:38 -04:00
parent ad33ed9619
commit 44ed42135f
1 changed files with 5 additions and 3 deletions

View File

@ -55,8 +55,10 @@ android {
dependencies {
compile project(path: ':jsword-minimalbible', configuration: 'buildJSword')
compile 'com.squareup.dagger:dagger:+'
provided 'com.squareup.dagger:dagger-compiler:+'
// Not sure why, but using dagger 1.2.2 breaks esperandro's use of JavaWriter.
// TODO: Migrate to Dagger 1.2.2
compile 'com.squareup.dagger:dagger:1.2.1'
provided 'com.squareup.dagger:dagger-compiler:1.2.1'
compile 'de.devland.esperandro:esperandro-api:+'
provided 'de.devland.esperandro:esperandro:+'
@ -66,7 +68,7 @@ dependencies {
compile 'com.netflix.rxjava:rxjava-android:+'
compile 'com.android.support:appcompat-v7:20.+'
androidTestCompile 'com.jayway.awaitility:awaitility:1.6.0'
androidTestCompile 'com.jayway.awaitility:awaitility:+'
androidTestCompile 'org.mockito:mockito-core:+'
androidTestCompile 'com.google.dexmaker:dexmaker:+'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:+'