Hi Adam,
thanks, getRootDir() did the job.
regards,
René
----------------------------
rene groeschke
[email protected]
Adam Murdoch schrieb:
René Gröschke wrote:
Hi there,
Is there an easy buildin way to get the location of the build.gradle
file I'm actually running?
There is. You can use the buildFile property.
Though, it sounds like you really want the file() method?
Have a look at the Project API:
http://gradle.org/0.7/docs/javadoc/org/gradle/api/Project.html
I'm working on an simple example to use gradle for eclipse pde
builds, but the configuration of eclipse pde needs absolute paths.
Since the project files are stored relative to the build.gradle file,
I want to calculate these absolute paths by the location of the
build.gradle file.
regards,
René
----------------------------
rene groeschke
[email protected]
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email