On Jun 10, 2008, at 3:59 PM, JerodLass wrote:
In the meantime, is there a way to access a list of dependencies I've
declared as objects (and work with them within a gradle task)?
You can write in any task for example:
dependencies.resolve('compile')
which returns a list of File objects pointing to the resolved
dependencies.
- Hans
Right now, it
looks like I'll have to run a script on the gradlefile to convert
compile
dependencies back to xml format for a .classpath file. The reason
for this
is I might add dependencies to a project I'm building with gradle and
someone I'm working with may decide to build it with ant since
they're used
to it and their IDE is already ant-friendly.
--
View this message in context: http://www.nabble.com/gradlefile-
cleaning--tp17650512p17756151.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
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email