On 8/07/10 7:41 AM, Adam Murdoch wrote:
On 7/07/10 8:03 AM, John Murph wrote:
I have older code that depends on gwt-incubator version 1.4 final. I cannot find this version in a Maven repo anywhere, but I did find a URL on googlecode.com <http://googlecode.com>. So, I thought I might be able to do:

dependencies {
compile uri('http://google-web-toolkit-incubator.googlecode.com/files/gwt-incubator_1-4_final.jar')
}

But this doesn't work. Anyone have ideas on how to get Gradle to pull down this jar for me?

I think you can do something like:

dependencies {
    compile ('gwt-incubator:gwt-incubator:1.4') {

Actually, this might be better as

compile module('gwt-incubator:gwt-incubator:1.4') {
    artifact { ... }
}

        artifact {
            name = 'gwt-incubator'
            extension = 'jar'
            url = 'http://....'
        }
    }
}

--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to