标签:
apply plugin: ‘com.jfrog.bintray‘
version = "0.1"
group = "cn.ismartv.jfrogbintraysample"
Properties properties = new Properties()
properties.load(project.rootProject.file(‘local.properties‘).newDataInputStream())
bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
configurations = [‘archives‘]
pkg {
repo = ‘generic‘
name = ‘JFrogBintraySample‘
userOrg = user
licenses = [‘Apache-2.0‘]
vcsUrl = ‘git@git.oschina.net:iiidai/JFrogBintraySample.git‘
labels = [‘gear‘, ‘gore‘, ‘gorilla‘]
publicDownloadNumbers = true
attributes = [‘a‘: [‘ay1‘, ‘ay2‘], ‘b‘: [‘bee‘], c: ‘cee‘] //Optional package-level attributes
version {
name = ‘1.0-Final-Modules‘
desc = ‘Gradle Bintray Plugin 1.0 final‘
vcsTag = ‘1.3.0‘
attributes = [‘gradle-plugin‘: ‘com.use.less:com.use.less.gradle:gradle-useless-plugin‘]
}
}
}
标签:
原文地址:http://my.oschina.net/fonddream/blog/526151