Hi strayph,
you can use the buildscript closure for that. have a look at
http://www.gradle.org/organizing_build_logic.html#sec:external_dependencies
for further information.
regards,
René
Am 03.05.11 20:44, schrieb strayph:
Sorry, this seems so silly...but I really couldn't find it anywhere.
I am migrating a simple Groovy script to Gradle, and it uses the MaxMind
GeoIP code, which I build into a JAR. For my script, I added it to
~/.groovy/lib and it all worked with the script Grapes.
Now I am migrating the Grapes into the dependencies. How do I refer to this
external JAR?
It's not a repo, and the artifact dependency doesn't mention directory
path...so I am confused.
Thanks for any help,
Strayph
--
View this message in context:
http://gradle.1045684.n5.nabble.com/How-to-add-a-JAR-as-a-dependency-tp4368022p4368022.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
--
-----------------------
regards René
rene groeschke
http://www.breskeby.com
@breskeby
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email