Gradle 上传项目

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 = '[email protected]: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 上传项目)