There is repositories.addFirst(). The question is how to create a flatDir
resolver without automatically adding it to the resolver list, and I can't
see a reasonable way to do this at the moment.

One workaround might be to conditionally add the flatDir repo in init.gradle
(before adding the Artifactory repo), but there doesn't seem to be a way to
check what the "current" project is.

Maybe someone else has a better idea.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradle Inc.
http://www.gradle.biz
Creator, Spock Framework
http://spockframework.org

-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/Changing-gradle-repository-resolution-order-tp3397007p3397144.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to