Hi! I have an app that uses 'library 1' and 'libra...
# gradle
v
Hi! I have an app that uses 'library 1' and 'library 2' . Let's say library1 uses coil version-1(an image library for example) and library2 uses coil version 2... when implementing both library 1 and library 2 in my app... only the latest version of coil i.e., coil version 2 is downloaded... is there any way to mitigate this issue?
v
There is nothing to mitigate. If both would end up in the class path anyway only the classes from the first on the class path are used, except if there are unique classes in the second. If you would want to use both separately, you anyway need a more sophisticated runtime model with custom class loaders and so on. And in that case you would also work out a matching Gradle build structure where both end up where they are needed.