Currently, I get this problem: Could not resolve c...
# community-support
e
Currently, I get this problem: Could not resolve com.gradledevelocity gradle plugin4.2.2. Gradle keeps trying to get it from https://plugins.gradle.org/m2/…. Which is entirely unnecessary. It is in local home Directory under/in .gradle/caches/modules-2/files-2.1. How do I get Gradle to look for it locally and stop looking for it elsewhere?
v
Maybe it got it from a different repository before, or you use a dynamic version somewhere, or maybe it has to check whether it is still available in that repository or was removed regularly. In both cases Gradle has to check online in the repository. If it is really in the cache from that repository, you can use
--offline
to force Gradle not to check the online repository but only use already cached dependencies and plugins.