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?
CodePudding user response:
Why do you want coil version-1 ? Graddle always download newest version of the dependency by default.
CodePudding user response:
AFAIK you cannot have library1
using coil
version-1 and library2
using coil
version-2. Possible approaches:
- Do nothing, only works if
library1
works withcoil
version-2. - Force the coil dependency to be version-1. Only works if
library2
works withcoil
version-1. - Use an older version of
library2
which has a dependency oncoil
version-1. - Find an alternative library to
library1
which uses a more recent version ofcoil
.