[SOLVED]Can't figure out why Gradle is downloading a snapshot when using compile (project...)


I have a mutli-project build. I have libA that appB depends on. appB’s build.gradle file has this:

dependencies {
compile project(’:libA’)

when I try and build with ./gradlew :appB:compile a snapshot of libA is downloaded from our artifactory instance is downloaded instead of libA’s project being downloaded. Than snapshot version that is download is 3.60.0-SNAPSHOT. I’ve searched my project and I can’t find any reference to that version.

Any suggestions on why gradle is downloading the snapshot instead of building the libA project?


This was completely my fault, of course. I found the resolution using:

gradle :appB:dependencyInsight --dependency libA