Im using lib Gson in my dependecies and im import a .aar with some classes from Gson that are imported to a project. When i build my project i keep getting duplicated classes, bcz its on my dependency and aar classes.
How i can exclude gson classes from aar?
I have been trying with:
- exclude group: I think this is not work since is not a dependency from aar, but classes inside.
- transitive true, same reason as before
Can i do it? or should i get other .aar with gson as dependecy?
from Gradle exclude classes from aar
No comments:
Post a Comment