That's exactly what was happening. Just added the evaluationDependsOn() 
declaration and it's all working beautifully.

Thanks for your help!

-----Original Message-----
From: TheKaptain [mailto:[email protected]] 
Sent: 15 February 2011 07:57
To: [email protected]
Subject: [gradle-user] Re: Trouble accessing sibling project configuration


Gradle will evaluate your projects in alphabetical order by default, so if
your sibling project is evaluated after the one you're trying to load the
version in, it won't be set yet.
You can tweak this behaviour by explicitly stating that one project
evaluation depends on another like this:

evaluationDependsOn(':my_sibling_project')

You should also be able to simplify your sibling project lookup to this:

project(':my_sibling_project’).configurations.default.allDependencies

-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/Trouble-accessing-sibling-project-configuration-tp3384352p3385597.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