Giter VIP home page Giter VIP logo

fat-aar-jar's Introduction

fat-aar-jar

把多个aar或者jar打包为一个aar包

目录结构:

=====================================================================

(1) aa1:用于单独打包aar包,执行assembleRelease后会自动拷贝到fat-aar的libs目录

(2) aa2:用于单独打包aar包,执行assembleRelease后会自动拷贝到fat-aar的libs目录

(3) fat-aar:用于把libs下的多个aar包合成一个新的aar包,不包含当前module的代码,执行assembleRelease会自动打合成包,并自动包拷贝到fat-aar-jar/libs目录下,名为:fat-aar.aar

(4) fat-aar-jar:用于把libs下的多个aar包或者jar打包成一个新的aar包,不包含当前module的代码,目前只支持一个aar包+多个jar包的合成包,有多个aar包需要合并的,先在fat-aar打成一个, 再来这里最后打一次, 执行assembleAAR会自动打合成包,并自动包拷贝到app/libs目录下,名为:fat-aar-jar-1.0.0.aar。

(5) app:用于验证和包的效果,运行之前先sync gradle file一次,这样合成包更新才会生效

=====================================================================

注意:以上命令在执行过程如果有错误,一般都是缓存引起的,先执行对应module下build的clean即可

使用方法:把fat-aar和fat-aar-jar拷贝到自己的工程中当module引入,编译方法请参见demo。

fat-aar-jar's People

Contributors

szdenny2 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.