On 29/04/10 8:29 PM, mh838 wrote:
Hello all,

I'm a gradle newbie. I'd like to know whether there is something like
include directive for the config files (having nothing to do with the
projects).

As of Gradle 0.9-preview1 there is. You can use the apply() method to apply a script:

apply from: 'some-other-script.gradle'

There's a little bit about this in the user guide: http://gradle.org/0.9-preview-1/docs/userguide/tutorial_this_and_that.html#sec:configuring_using_external_script

The javadoc for Project.apply() has some more detail, too: http://gradle.org/0.9-preview-1/docs/javadoc/org/gradle/api/Project.html#apply%28java.util.Map%29


--
Adam Murdoch
Gradle Developer
http://www.gradle.org


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

   http://xircles.codehaus.org/manage_email


Reply via email to