question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch from novoda-bintray-plugin

See original GitHub issue

I was using novoda-bintray-plugin to publish to Bintray and from there to maven central, but Novoda’s plugin is currently broken: https://github.com/novoda/bintray-release/issues/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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mr-archanocommented, Nov 10, 2018

@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.

0reactions
lisawraycommented, 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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Work Around On Publishing your Android Library to Bintray ...
Creating and publishing the library is really easy with the novoda/bintray-release plugin. Let's go ahead and setup this plugin.
Read more >
Android change build.gradle to import external library
Go to the build.gradle (Module:app) file which will look something like shown below and add the library as shown.
Read more >
com.novoda - Maven Repository
com.novoda » gradle-android-jacoco-pluginApache. Android Gradle plugin that code coverage against android instrumentation projects. Last Release on May 1, ...
Read more >
Move AGDROID projects from Maven to Gradle - aerogear-dev ...
... to move our current publish process from JBoss Nexus to Bintray[2] in favor to use the awesome bintray-release[3] Gradle plugin. Any thought...
Read more >
com.novoda.static-analysis - Gradle Plugin Portal
Owner: Novoda. A Gradle plugin to easily apply the same setup of static analysis tools across different Android, Java or Kotlin projects.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found