Maintained by aalmiray
This plugin allows you to publish artifacts to a repository on bintray.
| Website | https://github.com/bintray/gradle-bintray-plugin |
|---|---|
| Author | bintray |
| Version | 0.3 |
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.3'
}
}
apply plugin: 'bintray'
if(!project.hasProperty('bintrayUsername')) ext.bintrayUsername = ''
if(!project.hasProperty('bintrayApiKey')) ext.bintrayApiKey = ''
bintray {
user = project.bintrayUsername
key = project.bintrayApiKey
publications = [nameOfMavenPublication]
pkg {
repo = ... // repository name
userOrg = ... // repository owner
name = ... // project name
desc = ... // project description
licenses = ['Apache-2.0'] // licenses
labels = ['foo', 'bar'] // tags
}
}