I'm working with a Java project that is using a library that has a dependency on a library with a security vulnerability. Unfortunately, the updated version of the vulnerable library does not have the same group. Basically, the library org.reallyuseful.library:usefulstuff:1.0 depends on org.vulnerable.dependency:dependency:1.0, but the vulnerability has been fixed in org.secure.dependency:dependency:1.1.
In Gradle, how do I tell usefulstuff:1.0 to use org.secure.dependency:dependency:1.1 instead of org.vulnerable.dependency:dependency:1.0?