I have an Android project in which one 3rd party library depends on Dagger 1
and my project on Dagger 2
.
Dagger 1 and 2 have the same package names so my app is working fine, but 3rd party library is not working because of overriding dagger 1 package by dagger 2.
Changing the package name of Dagger 2 to dagger2
instead of dagger
is not an option because annotation compiler is generating classes with static package name dagger
.
Is there a way of resolving this conflict?