On Jan 7, 2009, at 4:35 PM, Tom Eyckmans wrote:

Also in order to prevent the integration tests from downloading testng a couple of times I'm using a FlatDirResolver in the tests.

So I wanted to add both testng-5.8-jdk14 and testng-5.8-jdk to the gradle build (so that they only need to get downloaded once) and resolve and copy them into the correct directory.

So I added "org.testng:testng:5.8:jd...@jar", "org.testng:testng: 5.8:jd...@jar" to distLib but only the one that you put last is actually resolved.

Current solution:
    clientModule(['testngIntegrationTesting'],'testng:testng:5.8') {
addArtifact(new Artifact('testng','jar','jar','jdk15', "http://repo2.maven.org/maven2/org/testng/testng/5.8/testng-5.8-jdk15.jar ")) addArtifact(new Artifact('testng','jar','jar','jdk14', "http://repo2.maven.org/maven2/org/testng/testng/5.8/testng-5.8-jdk14.jar "))
    }
    testngIntegrationTesting "org.codehaus.groovy:groovy-all:1.5.6"

and put the files from the testIntegrationTesting configuration in the src/samples/testng/lib directory before the exploded dist directory is created.

I think this is a good solution for the moment.

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to