I build an own library that I deploy on a nexus repository. This snapshot is changed very often, therefore not every change gets a new version number. My problem is that I don't get the newest code without changing the version number in project that use this library. I tried "--refresh-dependencies" and I also tried to clear the dependency from the cache by deleting the folder of this dependency under "\caches\modules-2\files-2.1\my.dependency"
I also tried this:
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
Has anyone an idea how I can force grade to download the newest status of a dependency despite the version number didn't change?