With Ivy I was able to define an artifact pattern like “jar:http://downloads.sourceforge.net/project/saxon/Saxon-B/[revision]/saxonb8-9-0-4j.zip!/[artifact].[ext]” which worked pretty fine. If I try to configure this within Gradle, it tells me that only file:, http: and https: are allowed. Of course I can use
{code}
repositories {
add(new org.apache.ivy.plugins.resolver.URLResolver()) {
addArtifactPattern "jar:http://downloads.sourceforge.net/project/saxon/Saxon-B/[revision]/saxonb8-9-0-4j.zip!/[artifact].[ext]"
}
}
{code}
But this is deprecated and will not work anymore with 2.0 if you really remove the ability to define own repositories. Even if not, this will constantly nag with deprecated message and as far as I can see there is currently no replacement.
Is there any reason that the URLs are restricted to file:, http: and https:?