bintray

Trouble downloading my published files on Bintray from JCenter

有些话、适合烂在心里 提交于 2019-12-23 09:21:09
问题 I'm developing a very basic Gradle plugin (mainly to get experience) and I've published a version to my Bintray repository which should be viewable here. I've linked my repository to JCenter (and can find my plugin here) and now, to test it all works, I'm trying to download those artifacts from a Gradle build script and apply my plugin to a mock project: apply plugin: 'semver' apply plugin: 'java' buildscript { repositories { jcenter() } dependencies { classpath 'com.github.tagc:semver-plugin

How to include dependencies when publish the library to bintray in android

一个人想着一个人 提交于 2019-12-22 07:58:17
问题 I'm new to publish own library in android. I created my own library and uploaded it to bintray. My library depends several third party libraries. When I see pom.xml file, there are dependency information. But when I add my library to test project gradle, it didn't import its dependencies. So I had to add it manually test project's gradle. How can I import dependency module automatically when I add my library to test project's gradle? Is there anyone that can solve this? My library is on

Disable javadoc check for Bintray upload

断了今生、忘了曾经 提交于 2019-12-21 14:32:29
问题 I am trying to upload a new version of my library to Bintray, however I am getting errors. One of the changes I made was to add a custom attribute to my Javadoc. For example: /** * The method does something. * * @param myParameter This is my parameter * @see #anotherMethod(int) * @attr ref R.styleable#MyLibrary_anAttribute */ The custom attribute tag I added was @attr ref which would show related XML attributes when generating Javadoc HTML (like in Android Developer documentation). I added

Failed to apply plugin Android Studio

旧巷老猫 提交于 2019-12-19 12:28:25
问题 I am trying to import ExoPlayer library into my Android Studio project. I have tryed few times with several methods ( importing direct with GRADLE ), import as module, copy paste it, I get the same error: Error:(15) A problem occurred evaluating project ':..:ExoPlayer:library'. > Failed to apply plugin [id 'bintray-release'] > Plugin with id 'bintray-release' not found. In library gradle I found the apply plugin line: apply plugin: 'bintray-release' After Searching the library and apply it to

Could not GET 'https://jcenter.bintray.com/com/google/' Received status code 502 from server: Bad Gateway [duplicate]

大兔子大兔子 提交于 2019-12-18 08:49:19
问题 This question already has answers here : Unable to get dependencies from jcenter with a new project [closed] (10 answers) Closed 9 months ago . My project has no problem till yesterday. Today my team and I get the same problem while building the project. Could not GET 'https://jcenter.bintray.com/com/google/android/gms/play-services-location/maven-metadata.xml'. Received status code 502 from server: Bad Gateway I have no clue why this error suddenly came to all of us. What could be the reason

HTTP/1.1 401 Unauthorized when uploading binary on bintray

你说的曾经没有我的故事 提交于 2019-12-18 08:11:11
问题 I'm trying to upload a android library module from android studio, followed by this blog: https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en (1) ./gradlew install Result:- BUILD SUCCESSFUL (2) ./gradlew build bintrayUpload Result:- Getting below error- FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':acr:bintrayUpload'. Could not create version '1.0.0': HTTP/1.1 401 Unauthorized [message:This resource

How to update library for new version in Bintray?

╄→гoц情女王★ 提交于 2019-12-18 04:46:08
问题 I published my library to jCenter as v1.0.0 by using novoda/bintray-release at the first time. Actually I want to update it as v1.0.1, how can i do it? [EDITED] I added the image for release note of another library as below. 回答1: You will have to change the version in the publish section of your build.gradle file. Then, run the plugin again. This will create a new version in bintray. 回答2: These are the steps I follow whenever I update my Bintray library: Update the libraryVersion name in your

How to generate gpg signing keys in bintray for jcenter in windows

笑着哭i 提交于 2019-12-14 03:39:39
问题 I am unable to get GPG signing keys. Please any one tell me. Thanks How to generate gps signing keys in windows for jcenter 回答1: Windows users can generate GPG keys using GPG4Win. There are many tutorials available, for example this one. 回答2: For Linux/Mac you can use gpg . I learned how to do this here. I needed to prefix the following commands with sudo . Generate the keys gpg --gen-key Follow the defaults but enter your name and email and optionally a password. List the keys. gpg --list

Warning:Dependency org.apache.httpcomponents:httpclient:4.2.1 is ignored when using jfrog and android-maven-plugin

自作多情 提交于 2019-12-13 02:10:52
问题 I'm getting quite a lot a problems by creating an external android library using the JFrog plugin. Essentially it keeps trying to get dependencies from apache without me asking for them. It seems related to the plugins that I'm applying with gradle. If I try to use this library in my app and try to run it using the local maven repo, it lasts a really a long time and then I get these warnings: Information:Gradle tasks [clean, :generateDebugSources, >:generateDebugAndroidTestSources,

Publish on bintray using the gradle-bintray-plugin

纵饮孤独 提交于 2019-12-12 15:16:26
问题 I have an Android-Library that I would like to publish on bintray. So far so good, I am using the gradle-bintray-plugin 1.2 with the following configuration: bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") configurations = ['archives'] pkg { repo = "android" // thats how my maven repository is called on bintray name = "mylibrary" websiteUrl = "https://somewebsite" // replaced this, since the project should not matter issueTrackerUrl =