Switch from novoda-bintray-plugin
See original GitHub issueI 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:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.Done. Published as 2.2
It hasn’t synced to jcenter yet, so for the next few hours you’ll have to use
Btw, you would not believe how out of date that first link is already!