zoukankan      html  css  js  c++  java
  • 模仿慕课网一步步发布一个开源库到 JCenter

    H:common-common-25.2.2upload.gradle

    // Bintray
    /*
    Properties properties = new Properties()
    properties.load(project.rootProject.file('local.properties').newDataInputStream())
    
    bintray {
        user = properties.getProperty("bintray.user")
        key = properties.getProperty("bintray.apikey")
        println user
        println key
    
        configurations = ['archives']
        pkg {
            repo = bintrayRepo
            name = bintrayName
            desc = libraryDescription
            websiteUrl = siteUrl
            vcsUrl = gitUrl
            licenses = allLicenses
            publish = true
            publicDownloadNumbers = true
            version {
                desc = libraryDescription
                gpg {
                    sign = true //Determines whether to GPG sign the files. The default is false
                    passphrase = properties.getProperty("bintray.gpg.password")
                    //Optional. The passphrase for GPG signing'
                }
            }
        }
    }
    */

    H:common-common-25.2.2common-25.2.2upload.gradle

    // Bintray
    Properties properties = new Properties()
    properties.load(project.rootProject.file('local.properties').newDataInputStream())
    bintray {
        user = properties.getProperty("bintray.user")
        key = properties.getProperty("bintray.apikey")
        println user
        println key
        configurations = ['archives']
        pkg {
            repo = bintrayRepo
            name = bintrayName
            desc = libraryDescription
            websiteUrl = siteUrl
            vcsUrl = gitUrl
            licenses = allLicenses
            publish = true
            publicDownloadNumbers = true
            version {
                desc = libraryDescription
                gpg {
                    sign = true //Determines whether to GPG sign the files. The default is false
                    passphrase = properties.getProperty("bintray.gpg.password")
                    //Optional. The passphrase for GPG signing'
                }
            }
        }
    }

    H:common-common-25.2.2local.properties

    ## This file must *NOT* be checked into Version Control Systems,
    # as it contains information specific to your local configuration.
    #
    # Location of the SDK. This is only used by Gradle.
    # For customization when using a Version Control System, please read the
    # header note.
    #Mon Dec 10 07:59:28 CST 2018
    ndk.dir=H:\heimaandroidadt\adt-bundle-windows-x86_64_20140101\adt-bundle-windows-x86_64_20140101\sdk\ndk9d
    sdk.dir=H:\heimaandroidadt\adt-bundle-windows-x86_64_20140101\adt-bundle-windows-x86_64_20140101\sdk

  • 相关阅读:
    Matlab quad
    卷积神经网络(CNN)代码实现(MNIST)解析
    Redis具体解释
    Nginx Https 配置
    Nginx 常用配置
    Nginx gzip压缩配置
    Nginx 静态资源配置
    Idea给类和方法增加注释模板
    MySql定时备份数据库
    Nginx 日志切割
  • 原文地址:https://www.cnblogs.com/ZHONGZHENHUA/p/10100225.html
Copyright © 2011-2022 走看看