I have a snapshot artifact dependency in my project. The snapshot was the updated from
Gradle / Refresh Gradle Project from the projects context menu does not fetch the newer artifact from the repo.
Even worse: if I delete the the artifact from the local repo, the older
-18 artifact is downloaded again.
It’s always the older artifact which gets linked into the eclipse buildpath.
gradlew build --refresh-dependenciesworks as expected: the last
-19 artifact is pulled from the external repo if needed and compile is using it.
My current fix is to copy the newer
-19 onto the older
-18 artifact in the file tree of the local repo.
Maybe Buildship isn’t doing a
--refresh-dependencies at all and using some cached pom files?