Hello everyone, I have a project which imports a version catalog library in settings.gradle.kts file. I am not using semantic versioning right now for catalog so the version is always 0.0.1. In my deployment steps I am using gradle downloadDependencies step so that it will fetch cached dependencies and downloads the rest, which will reduce my build time. Now the problem is the version catalog library is also getting fetched from cache and not the latest one. Can you help me to force catalog library to fetch the latest one?
Using “–refresh-dependencies” would probably help.
But if you really want to now change the version (doesn’t mean you have to use semver, just different version for each publish), then at least use for example a 0.0.1-SNAPSHOT
as that is then automatically recognized as changing version and will regularly be checked for updates. Usually an artifact behind a non-snapshot version should never change, whether you use semver or not.