Open aalmiray opened 10 years ago
+1
I would like this to happen as well! I'm getting "peer not authenticated" when I try to reference cloud.github.com.
+1 on this as it would appear right now this is unusable due to the peer not authenticated error.
Agreed. Apparently with Gradle 4.3 this is not working anymore:
add(new org.apache.ivy.plugins.resolver.URLResolver()) {
name = 'GitHub'
addArtifactPattern 'http://cloud.github.com/downloads/[organisation]/[module]/[module]-[revision].[ext]'
}
It fails with:
Could not compile build file '/Users/dpilato/Documents/Elasticsearch/dev/talks/ingest-jdbc/build.gradle'.
> startup failed:
build file '/Users/dpilato/Documents/Elasticsearch/dev/talks/ingest-jdbc/build.gradle': 8: unable to resolve class org.apache.ivy.plugins.resolver.URLResolver
@ line 8, column 13.
add(new org.apache.ivy.plugins.resolver.URLResolver()) {
^
1 error
The "right" syntax should be something like:
ivy {
url "http://cloud.github.com/downloads/"
layout "pattern", {
artifact "[organisation]/[module]/[module]-[revision].[ext]"
}
}
But
> Could not GET 'http://cloud.github.com/downloads/jamescarr/h2-gradle-plugin/h2-gradle-plugin-0.8.2.xml'. Received status code 403 from server:
Yeah. Apparently there is no "release" on the GH page: https://github.com/jamescarr/h2-gradle-plugin/releases
Is it something you are planning to fix? Or any workaround?
@dadoonet you can also try http://jitpack.io/
Bintray is to binaries what Github is to source :smile: