I have prepared simple gradle demo project example where dagger 2.2 is used. Demo is on https://github.com/klaun76/gradle-dagger-java-simple-example) .
But when i changed version to 2.3 i got error:
Execution failed for task ':compileJava'.
java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSetMultimap$Builder.putAll(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
I'm probably missing some dependencies. Any advice could help
Its working now. Problem was in dependencies order, check latest version of repository
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.