Skip to content Skip to sidebar Skip to footer

How Do I Make Dagger 1 And Dagger 2 Coexist Together In One Android Project?

We have a huge codebase to migrate from dagger 1 to dagger 2 but we would like to do it step by step. For that we were thinking to have both versions as our project dependency and

Solution 1:

There's no other way.

When trying to use both Dagger versions together, you might run into different situations like classpath clashes and conflicts or transitive dependencies issues. So, in order to avoid them, we have to somehow relocate Dagger 2 packages.

As the text said.

Post a Comment for "How Do I Make Dagger 1 And Dagger 2 Coexist Together In One Android Project?"