Benjamin Muschko wrote:
> 
> That's good to know. Thanks! I was actually working on a patch for 
> http://issues.gradle.org/browse/GRADLE-1447 GRADLE-1447 .
> 

You should be able to get to the Groovy Jar with:

((ProjectInternal)
project).getServices().get(ClassPathRegistry.class).getClassPathFiles("LOCAL_GROOVY")
 

Not sure if I like GRADLE-1447. Maybe we should make the choice explicit
with something like "dependencies { groovy localGroovy() }". Having your
dependencies change silently whenever you upgrade Gradle sounds scary.

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

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Retrieving-Gradle-Home-directory-tp4329831p4331846.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