Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Publish to Jcenter #2

Open
jaredsburrows opened this issue Apr 10, 2016 · 8 comments
Open

Publish to Jcenter #2

jaredsburrows opened this issue Apr 10, 2016 · 8 comments

Comments

@jaredsburrows
Copy link

Instead of having to do:

maven { url 'http://guardian.github.com/maven/repo-releases' }

Please upload to Jcenter.

@rrees
Copy link

rrees commented Apr 10, 2016

Seems sensible, I'll look into it

@rrees rrees self-assigned this Apr 10, 2016
@rtyley
Copy link
Member

rtyley commented Apr 10, 2016

A lot of Guardian projects are currently uploaded through https://oss.sonatype.org/ directly to Maven Central, rather than going via Bintray's JCenter, and personally I hope that consistency continues (the legacy practice of uploading to the guardian.github.com Git repo is obviously not good).

It's possible I'm just a curmudgeonly old stick-in-the-mud - though I admit I hear people complain occasionally that it's more hassle to use than newcomer JCenter, I'm prejudiced towards the longest-serving repository service- they have a longer track record of not-going-out-of-business!

http://central.sonatype.org/pages/apache-maven.html

@rrees
Copy link

rrees commented Apr 10, 2016

There's nothing to stop it going to both.

@jaredsburrows
Copy link
Author

@rrees Of course! The more the better but that just puts more work on the maintainers.

@jaredsburrows
Copy link
Author

If I do not add that special repo, I get this error.

$ gradle runDebug
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project '<>'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
   > Could not find com.gu:option:1.3.
     Searched in the following locations:
         https://plugins.gradle.org/m2/com/gu/option/1.3/option-1.3.pom
         https://plugins.gradle.org/m2/com/gu/option/1.3/option-1.3.jar
         https://jitpack.io/com/gu/option/1.3/option-1.3.pom
         https://jitpack.io/com/gu/option/1.3/option-1.3.jar
         file:/<>/.m2/repository/com/gu/option/1.3/option-1.3.pom
         file:/<>/.m2/repository/com/gu/option/1.3/option-1.3.jar
         file:/<>/android-sdk/extras/android/m2repository/com/gu/option/1.3/option-1.3.pom
         file:/<>/android-sdk/extras/android/m2repository/com/gu/option/1.3/option-1.3.jar
         file:/<>/android-sdk/extras/google/m2repository/com/gu/option/1.3/option-1.3.pom
         file:/<>/android-sdk/extras/google/m2repository/com/gu/option/1.3/option-1.3.jar
     Required by:
         :<>:unspecified > net.rdrei.android.dirchooser:library:3.2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 8.188 secs

@spitfire2903
Copy link

Do you have any news? I had the same problem

@jaredsburrows
Copy link
Author

Any update on this?

1 similar comment
@nicolabeghin
Copy link

Any update on this?

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

No branches or pull requests

5 participants