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

Switch from novoda-bintray-plugin #216

Closed
lisawray opened this issue Oct 26, 2018 · 8 comments
Closed

Switch from novoda-bintray-plugin #216

lisawray opened this issue Oct 26, 2018 · 8 comments

Comments

@lisawray
Copy link
Owner

lisawray commented Oct 26, 2018

I was using novoda-bintray-plugin to publish to Bintray and from there to maven central, but Novoda's plugin is currently broken: novoda/bintray-release#177

Took a shot at switching it over to https://github.com/dcendents/android-maven-gradle-plugin (working example: https://github.com/trello/RxLifecycle) on branch https://github.com/lisawray/groupie/tree/publishing ....

but I haven't got it working yet. Would love some eyes from anyone familiar with publishing directly to maven central.

./gradlew clean build uploadArchives

> Task :library:uploadArchives FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':library:uploadArchives'.
> Could not publish configuration 'archives'
   > Failed to deploy artifacts: Could not transfer artifact com.xwray:groupie:aar:2.2.0 from/to remote (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/xwray/groupie/2.2.0/groupie-2.2.0.aar. Return code is: 401, ReasonPhrase: Unauthorized.
@lisawray
Copy link
Owner Author

lisawray commented Oct 26, 2018 via email

@jordond
Copy link

jordond commented Nov 1, 2018

Another simple option is jitpack.

@bernaferrari
Copy link

bernaferrari commented Nov 1, 2018 via email

@lisawray
Copy link
Owner Author

lisawray commented Nov 6, 2018

Anything would be fine at this point. I'm at my wit's end. I can't even get it to work with jitpack, and I think it's because it's multiple libraries.

It's here if anyone wants to give it a shot: https://github.com/lisawray/groupie/tree/jitpack

@bernaferrari
Copy link

@lisawray
Copy link
Owner Author

lisawray commented Nov 6, 2018

Done. Published as 2.2

It hasn't synced to jcenter yet, so for the next few hours you'll have to use

    repositories {
        maven { url 'https://dl.bintray.com/lisawray/maven'}
    }

Btw, you would not believe how out of date that first link is already!

@lisawray lisawray closed this as completed Nov 6, 2018
@mr-archano
Copy link

@lisawray we have just released a new version of novoda/bintray-release that should fix the issue you were facing.
It was a tricky one to fix, it took longer than anticipated. Feel free to give it a go and open an issue if any problem.

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

No branches or pull requests

4 participants