The easiest way to publish your library to bintray.
This library is based on https://github.com/nuuneoi/JCenter but modified to have configuration file.
Check out the example at https://github.com/henrytao-me/bootstrap-android-library
bintray.apikey=xxx
bintray.user=xxx
bintray.gpg.password=xxx
bintray.userOrg=xxx
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2"
classpath "com.github.dcendents:android-maven-gradle-plugin:1.3"
ext {
bintray = [
bintrayRepo : "xxx",
bintrayName : "xxx",
publishedGroupId : "xxx",
libraryName : "xxx",
artifact : "xxx",
libraryDescription: "xxx",
siteUrl : "xxx",
gitUrl : "xxx",
libraryVersion : "xxx",
developerId : "xxx",
developerName : "xxx",
developerEmail : "xxx",
licenseName : "xxx",
licenseUrl : "xxx",
allLicenses : ["xxx"]
]
}
apply from: "https://raw.githubusercontent.com/henrytao-me/bintray/master/installv1.gradle"
apply from: "https://raw.githubusercontent.com/henrytao-me/bintray/master/bintrayv1.gradle"
./gradlew install
./gradlew bintrayUpload
Copyright 2015 "Henry Tao <hi@henrytao.me>"
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.