From 35c3e4e7f505c67d7b258611dc63ce45df1c1ab9 Mon Sep 17 00:00:00 2001 From: Matthew Hall Date: Tue, 4 Nov 2014 16:11:20 -0700 Subject: [PATCH 1/2] Upgrade Dagger dependency from 1.1.0 to 1.2.2. --- dagger.gradle | 2 +- example-github/build.gradle | 2 +- example-wikipedia/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dagger.gradle b/dagger.gradle index 59996026..840a2161 100644 --- a/dagger.gradle +++ b/dagger.gradle @@ -28,7 +28,7 @@ apply plugin: 'idea' if (!project.hasProperty('daggerVersion')) { ext { - daggerVersion = "1.1.0" + daggerVersion = "1.2.2" } } diff --git a/example-github/build.gradle b/example-github/build.gradle index 8b92037c..631015a9 100644 --- a/example-github/build.gradle +++ b/example-github/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'java' dependencies { compile 'com.netflix.feign:feign-core:5.3.0' compile 'com.netflix.feign:feign-gson:5.3.0' - provided 'com.squareup.dagger:dagger-compiler:1.1.0' + provided 'com.squareup.dagger:dagger-compiler:1.2.2' } // create a self-contained jar that is executable diff --git a/example-wikipedia/build.gradle b/example-wikipedia/build.gradle index 9a85fd61..0589c055 100644 --- a/example-wikipedia/build.gradle +++ b/example-wikipedia/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'java' dependencies { compile 'com.netflix.feign:feign-core:5.3.0' compile 'com.netflix.feign:feign-gson:5.3.0' - provided 'com.squareup.dagger:dagger-compiler:1.1.0' + provided 'com.squareup.dagger:dagger-compiler:1.2.2' } // create a self-contained jar that is executable From 0f765ad2b8d8dba70505e398dee4f5fef77a3078 Mon Sep 17 00:00:00 2001 From: Matthew Hall Date: Tue, 4 Nov 2014 16:39:55 -0700 Subject: [PATCH 2/2] Add warning to CHANGES.md regarding Dagger 1.2.0 upgrade. --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 8d8a96a1..a3121ef3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,8 @@ ### Version 7.0 * Expose reflective dispatch hook: InvocationHandlerFactory * Add JAXB integration +* Upgrade to Dagger 1.2.2. + * **Note:** Dagger-generated code prior to version 1.2.0 is incompatible with Dagger 1.2.0 and beyond. Dagger users should upgrade Dagger to at least version 1.2.0, and recompile any dependency-injected classes. ### Version 6.1.1 * Fix for #85