| Hello Neil, I guess, you're mixing up your dependencies here. You should create a custom configuration for your antsvn dependencies: --------------- configurations{ antsvndeps } dependencies{ antsvndeps group: svnAntGroup, name: "svnant", version:
svnAntVersion
antsvndeps group: svnAntGroup, name: "svnkit",
version: svnAntVersion
antsvndeps group: svnAntGroup, name: "ganymed",
version: svnAntVersion
antsvndeps group: svnAntGroup, name: "jna",
version: svnAntVersion
antsvndeps group: svnAntGroup, name: "svnjavahl",
version: svnAntVersion
antsvndeps group: svnAntGroup, name:
"svnClientAdapter", version: svnAntVersion
}--------------- Now you can reference this configuration in your checkout task to declare the classpath --------------- task checkout << {
ant.taskdef(resource: 'org/tigris/subversion/svnant/svnantlib.xml',
classpath:configurations.antsvndeps.asPath) ant.svn(javahl:
'false', svnkit:'true', username:'user', password:'pass',
failonerror:'true'){ ant.checkout(url:url, destPath:path)
} } --------------- hope that helps, regards, René
|
- [gradle-user] SVNAnt in Gradle Neil Chaudhuri
- Re: [gradle-user] SVNAnt in Gradle Rene Groeschke
- Re: [gradle-user] SVNAnt in Gradle Neil Chaudhuri

