Hi Marcus,
On Nov 27, 2008, at 9:37 AM, Marcus Better wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm trying to figure out how to specify external dependencies for
the buildSrc classes. In this case I want it to use a jar file, say
buildSrc/lib/foo.jar. Sounds simple enough but I couldn't figure
out the magic syntax.
this is possible but not as convenient as it should be. At the moment
if you don't specify your custom build.gradle for the buildSrc, a
default one is used. This default one declares no dependencies. If
you need dependencies and otherwise are happy with the default
behavior of the buildSrc build, you have to copy and paste the
default build script into a build.gradle file in the buildSrc dir.
Then you can add the dependencies. The Gradle build itself does it
like this. See: http://svn.codehaus.org/gradle/gradle-core/trunk/
buildSrc/build.gradle
There is Jira to make this more convenient: http://jira.codehaus.org/
browse/GRADLE-34
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email