jamescarr / h2-gradle-plugin

Gradle plugin to run an embedded h2 server
12 stars 9 forks source link

Consider deploying artifacts to bintray #5

Open aalmiray opened 10 years ago

aalmiray commented 10 years ago

Bintray is to binaries what Github is to source :smile:

RefuX commented 10 years ago

+1

matsandreassen-triona commented 10 years ago

I would like this to happen as well! I'm getting "peer not authenticated" when I try to reference cloud.github.com.

tddmonkey commented 9 years ago

+1 on this as it would appear right now this is unusable due to the peer not authenticated error.

dadoonet commented 7 years ago

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
dadoonet commented 7 years ago

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?

aalmiray commented 7 years ago

@dadoonet you can also try http://jitpack.io/