On 5/06/10 5:20 AM, vincer wrote:
I'm new to Gradle, so sorry if I missed something obvious, but I have been
searching around for this for a while and can't find a solution.

I want my build directory to be outside of my project directory. The
buildDir property is read only, and the buildDirName is relative to the
project directory path. Is there ANY way to get around this and change the
buildDir path?


buildDirName can point to a directory outside the project directory. For example, you can do: buildDirName = '../../someDir'

However, it doesn't handle absolute paths. You can work around this with something like: buildDirName = relativePath('/some/absolute/path')


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz


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

   http://xircles.codehaus.org/manage_email


Reply via email to