Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Due to bintray returning 502 error, must replace repositories #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

acetousk
Copy link

dl.bintray.com is returning a 502 error see here

The bintray service has been sunsetted according to their website.

I was getting this error:

> Task :runtime:component:moqui-graphql:compileGroovy FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runtime:component:moqui-graphql:compileGroovy'.
> Could not resolve all files for configuration ':runtime:component:moqui-graphql:compileClasspath'.
   > Could not resolve org.codehaus.btm:btm:3.0.0-SNAPSHOT.
     Required by:
         project :runtime:component:moqui-graphql > project :framework
      > Could not resolve org.codehaus.btm:btm:3.0.0-SNAPSHOT.
         > Unable to load Maven meta-data from http://dl.bintray.com/andimarek/graphql-java/org/codehaus/btm/btm/3.0.0-SNAPSHOT/maven-metadata.xml.
            > Could not get resource 'http://dl.bintray.com/andimarek/graphql-java/org/codehaus/btm/btm/3.0.0-SNAPSHOT/maven-metadata.xml'.
               > Could not GET 'http://dl.bintray.com/andimarek/graphql-java/org/codehaus/btm/btm/3.0.0-SNAPSHOT/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

This change fixes the dependencies by remove the jcenter() repository, and replacing it with mavenCentral(). mavenCentral() doesn't have com.github.ben-manes:gradle-versions-plugin:0.13.0, but gradlePluginPortal() does, so that's why it was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant