For an app I have that used the wsimport task from ant, I had in my
build.gradle file:
repositories {
mavenCentral()
mavenRepo urls:['http://download.java.net/maven/1', '
http://download.java.net/maven/2']
}
With milestone 6, this gives me error messages. I found that now I have to
write:
repositories {
maven {
url 'http://repo1.maven.org/maven2'
artifactUrls 'http://download.java.net/maven/1', '
http://download.java.net/maven/2'
}
}
That works, but it re-downloads everything I had before the first time I
run it. I wasn't able to find a way to mix mavenCentral() with the other
urls, either.
My question is, is this going to be the preferred mechanism in the future?
Am I using it correctly?
Thanks,
Ken
--
Kenneth A. Kousen
President
Kousen IT, Inc.