Hi all,

While investigating a report of a performance regression with m7, I stumbled upon some behaviour I can't explain.

I've been playing with this project: https://github.com/chochos/jalarms

(to run it, remove the uploadPublished block in the root build.gradle)

This build uses the mavenLocal() repo. I noticed that dependency resolution is considerably slower when this is one of the repos. I did some digging and found that it looks like when mavenLocal() is in play we don't uses our cache as well, if at all.

You can see this by running:

./gradlew jalarms-channels:classes -debug -no-daemon | grep GET

With mavenLocal() in and with it out.

Can anyone explain what's going on here?

--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com

Reply via email to