The method mavenRepo has been deprecated. How to migrate the example to method maven which should be used instead? Note: This topic was created from a reply on the What is the best practice for managing javascript libraries (such as JQuery)? topic.
But how to provide the pattern for the file to download? I found out you can use ivy instead:
ivy {
url "http://code.jquery.com"
layout "pattern", {
artifact "[module]-[revision](.[classifier]).[ext]"
}
}
repositories {
maven {
url = ‘http://…’
}
}