bintray

Publishing Android Library (aar) to Bintray with chosen flavors

ⅰ亾dé卋堺 提交于 2019-11-30 07:54:44
I've juste added some flavors (or productFlavors if you want) to my project. The fact is that when I publish the library to bintray , all flavors are uploaded (which is great), but I'm unable to use them. The plugin used is the official one here . The uploaded aar: androidsdk-0.0.4-fullRelease.aar androidsdk-0.0.4-fullDebug.aar androidsdk-0.0.4-lightRelease.aar androidsdk-0.0.4-lightDebug.aar As you noted, the fullRelease is named as the classifier , see doc chapter 23.4.1.3 . I am searching for a solution to choose which flavors that I want to upload. I've already looked at bintray examples (

Could not find method jcenter() for arguments [] on repository container

元气小坏坏 提交于 2019-11-30 07:44:55
问题 I'm new to Gradle and bintray. I want to publish this project so it is readily available to Maven and SBT users. I am not the original author of this package; it appears to have been abandoned; I just want to publish the current HEAD. ~/.gradle/gradle.properties is something like: bintrayUser=mslinn bintrayKey=blahblah build.gradle looks like this.: buildscript { repositories { jcenter() } dependencies { classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' } } apply plugin: 'com

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

旧巷老猫 提交于 2019-11-29 14:25:27
This question already has an answer here: Unable to get dependencies from jcenter with a new project [closed] 10 answers 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? Why bintray is not reachable? Complete Stack trace org.gradle.api.internal.tasks.TaskDependencyResolveException: Could not

Publish jar library to bintray using gradle

百般思念 提交于 2019-11-29 12:13:23
I'm trying to publish a jar library to bintray using Gradle. I have a package on my project which is "com.github.instagram". What I am trying to achieve is to build the jar file of this package and upload it to bintray. here are my configurations uploadArchives { repositories { bintrayMavenDeployer { username 'xxx' apiKey 'xxx' repoOwner 'xxx' repoName 'xxx' packageName 'xxx' description 'This is an example to simplifying bintray publishing' descUrl 'https://github.com/ysb33r/Gradle/blob/master/bintray/README.md' tags 'gradle','bintray' } } } but when i execute gradlew uploadArchives, it

Publishing Android Library (aar) to Bintray with chosen flavors

放肆的年华 提交于 2019-11-29 10:41:15
问题 I've juste added some flavors (or productFlavors if you want) to my project. The fact is that when I publish the library to bintray , all flavors are uploaded (which is great), but I'm unable to use them. The plugin used is the official one here. The uploaded aar: androidsdk-0.0.4-fullRelease.aar androidsdk-0.0.4-fullDebug.aar androidsdk-0.0.4-lightRelease.aar androidsdk-0.0.4-lightDebug.aar As you noted, the fullRelease is named as the classifier , see doc chapter 23.4.1.3. I am searching

How to update library for new version in Bintray?

匆匆过客 提交于 2019-11-29 06:29:25
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. 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. These are the steps I follow whenever I update my Bintray library: Update the libraryVersion name in your library module build.gradle file. See this answer for more on that. ext { ... libraryVersion = '2.0.0' ... }

Could not find method jcenter() for arguments [] on repository container

家住魔仙堡 提交于 2019-11-29 05:24:21
I'm new to Gradle and bintray. I want to publish this project so it is readily available to Maven and SBT users. I am not the original author of this package; it appears to have been abandoned ; I just want to publish the current HEAD. ~/.gradle/gradle.properties is something like: bintrayUser=mslinn bintrayKey=blahblah build.gradle looks like this.: buildscript { repositories { jcenter() } dependencies { classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' } } apply plugin: 'com.jfrog.bintray' allprojects { apply plugin: 'idea' group = 'org.jfrog.example.bintray.gradle' version = '1

How to use the latest gradle version in Android Studio

半腔热情 提交于 2019-11-28 20:18:41
I've just noticed Gradle has released version 2.12 and according to the release notes the scripts should compile up to 20% faster. I'd like to upgrade to that version in Android Studio. I'm using v1.5.1 and in the settings I've selected the "Use default gradle wrapper" option, which means that instead of using a local gradle install for every project, a specific gradle version will be used for each project. The version used is the one defined in the build.gradle file. Example: buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' // NOTE: Do

Bintray link to jcenter missing

橙三吉。 提交于 2019-11-28 09:00:18
问题 I would like to ask about bintray link to jcenter. Apparently I can't link to jcenter anymore as the button 'linked to jcenter' is missing. I had created new package(under maven repository). I had no issues linking to jcenter when I was testing with one account during 2016 december and the 'linked to jcenter' button is there but now when I try with new account the button is missing. What makes this happens? When I was trying in 2016, I just need to create maven repository and the 'linked to

Publish jar library to bintray using gradle

为君一笑 提交于 2019-11-28 05:38:24
问题 I'm trying to publish a jar library to bintray using Gradle. I have a package on my project which is "com.github.instagram". What I am trying to achieve is to build the jar file of this package and upload it to bintray. here are my configurations uploadArchives { repositories { bintrayMavenDeployer { username 'xxx' apiKey 'xxx' repoOwner 'xxx' repoName 'xxx' packageName 'xxx' description 'This is an example to simplifying bintray publishing' descUrl 'https://github.com/ysb33r/Gradle/blob