Gradle not picking up latest library/version from artifactory
问题 I have project A and B. Project B depends on A. If I build a snapshot for B, it will trigger a snapshot build on A. The issue is that when the latest snapshot of A gets pushed, B doesn't pick up the latest snapshot. Rather, it picks up the one before that. Is there any reason why? And can I pull the latest snapshot every time ? 回答1: If your dependencies do not have the "-SNAPSHOT", you can specifically tell gradle that the dependency is a changing one like this: dependencies { compile group: