Coder Social home page Coder Social logo

pgyerupload's Introduction

1.复制packUpload.gradle文件到项目根目录

2.项目根目录的build.gradle添加这些


ext {
    jiagubaoPath = 'C:\\jiagubao\\jiagu' //  加固保安装的路径,不要用中文路径
    title="youbao"          //APPtitle,这个可不写,我自己项目写了方便区分不同的app
    storeFile = file('./app/youbao.jks')               // 签名文件位置,根据实际情况写
    storePassword = ''                 //  密码
    keyAlias = ''                           // app别名
    keyPassword = ''                  //  key密码
    jiaGu_UserName = ''          //  360加固保用户名
    jiaGu_Pwd = ''                    //  360加固保登录密码
}

3.可选:app的build.gradle里添加这些,修改打包时候的文件名,不写这个的话需要修改packUpload.gradle里的apk文件名构成,比如44行的代码

android {
    ...
    //修改打包文件名
    applicationVariants.all {
        variant ->
            variant.outputs.all {
                //在这里修改apk文件名
                outputFileName = "${variant.name}-${rootProject.ext.title}-v${variant.versionName}.apk"
            }
    }
}

pgyerupload's People

Contributors

tianguisen avatar

Stargazers

MarkGosling avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.