I think just declaring it without version should take the version of the transitive dependency.
A fallback might be harder to do.
n
Niels Doucet
09/25/2023, 1:53 PM
I think that you can declare them with the earliest known version and gradle should resolve the conflict to the transitive version coming in at all times. Not sure if that works without declaring a version if no dependency management is configured 🤔
Niels Doucet
09/25/2023, 1:54 PM
you might experience sudden downgrade if ever the transitive dependency would be dropped by your dependency though
r
Robert Elliot
09/25/2023, 1:57 PM
Thanks @Vampire that does work - I was thrown off because there are actually two sibling deps, but only one of them is brought in transitively. Which makes it harder still!