I'm working on a sub-project that has an automatically generated ant
build.xml file. I'm trying to integrate this build with the rest of my
project in Gradle. I have a simple Gradle file that looks like:
defaultTasks "war"
ant.importBuild 'build.xml'
The problem is that the war task in the build.xml file has a compile time
dependency on a few jars. I've added the jars to my Maven respository, but
I can't figure out a way to add the jars to the classpath for compilation.
Is there a way to do this?
I know if you are using the Java plugin you can do something like
dependencies {
compile 'com.company.blah:name:0.1.1'
}
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Add-jar-dependency-to-ant-task-tp3406812p3406812.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