Skip to content

pexcn-todo/jcenter-publish-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JCenter Publish Script

License

Usage

In gradle files.

buildscript {
    ......
    dependencies {
        ......
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
    }
}

ext {
    libraryName = 'Library Name'
    libraryDescription = 'Library Description'
    libraryVersionName = 'Library Version Name'
    libraryVersionCode = Library Version Code

    groupId = 'Group Id'
    artifactId = 'Artifact Id'

    siteUrl = "Website Url"
    gitUrl = "Git Url"

    licenseName = 'The GNU General Public License v3.0'
    licenseUrl = 'https://www.gnu.org/licenses/gpl-3.0.txt'
    licenses = ["GPL-3.0"]

    developerId = 'Developer Id'
    developerName = 'Developer Name'
    developerEmail = 'Developer E-mail'
}

apply plugin: 'com.android.library'
......
apply from: 'https://github.com/pexcn/jcenter-publish-script/raw/master/install.gradle'
apply from: 'https://github.com/pexcn/jcenter-publish-script/raw/master/bintray.gradle'

In local.properties.

bintray.user=yourusername
bintray.apikey=yourapikey

Publish

gradle bintrayUpload

Dependencies

License

GPL v3

Copyright (C) 2016 Xingyu Chen <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors