码迷,mamicode.com
首页 > Web开发 > 详细

Gradle 上传项目

时间:2015-11-05 12:15:22      阅读:300      评论:0      收藏:0      [点我收藏+]

标签:

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‘]

        }

    }

}


Gradle 上传项目

标签:

原文地址:http://my.oschina.net/fonddream/blog/526151

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!