From 44ed42135fb49e3886feb47bdbd0b59f2f30c378 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 9 Aug 2014 20:07:38 -0400 Subject: [PATCH] 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 --- app/build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2f3bd96..24347a8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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:+'