Skip to content

Instantly share code, notes, and snippets.

@jbaruch
Created December 29, 2014 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbaruch/5f14a557da94100b6075 to your computer and use it in GitHub Desktop.
Save jbaruch/5f14a557da94100b6075 to your computer and use it in GitHub Desktop.
Bintray publish config
---
repo: "maven" #name of the Bintray repository to deploy to
userOrg: "optionalOr" #optinal: organization that the repository belongs to. If not set, the subject will be the user executing the call
name: "mypkg" #name of the package to deploy to. Will be created if not exists
desc: "what a fantastic package indeed!"
websiteUrl: "https://github.com/bintray/gradle-bintray-plugin"
issueTrackerUrl: "https://github.com/bintray/gradle-bintray-plugin/issues"
vcsUrl: "https://github.com/bintray/gradle-bintray-plugin.git"
licenses: # list of licenses of the package from this list: https://bintray.com/docs/api/#_footnoteref_1
- "Apache-2.0"
- "LGPL-3.0"
labels: #a.k.a. tags
- "gear"
- "gore"
- "gorilla"
publicDownloadNumbers: true #should the statistics be public?
attributes: #attributes on package, see explanation about attribute types here: https://bintray.com/docs/api/#_update_attributes
-
a:
- ay1
- ay2
-
b:
- bee
-
c: cee
version:
name: "1.3-Final" #name of the version. Will be created if not exists
desc: "optional, version-specific description"
released: "2014-10-01" #optional release date, if not specified will be set to publishing date
vcsTag: "1.3.0" #optional tag in version control
attributes:
- gradle-plugin: "com.use.less:com.use.less.gradle:gradle-useless-plugin" #similar to package attributes, on version level
gpg:
sign: true #optional automatic signing of the files in the version
passphrase: "optional, the passphrase for GPG signing"
mavenCentralSync:
sync: true #optional automatic syncing the version to Maven Central
user: "userToken"
password: "paasword"
close: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment