Giter Site home page Giter Site logo

Comments (2)

mqzhangw avatar mqzhangw commented on August 16, 2024

不是,这里是使用的引用file的方式,用maven库的话使用compile就好了。不过实际情况要麻烦一些,组件发布到maven是建立在library都发布到maven的基础上的,很多情况下业务library还不够完善,频繁的发布maven比较繁琐,所以需要等到项目已经稳定到一定程度后再做这件事。在项目初期或者人手比较紧张的情况下,建议使用直接依赖本地工程(第一种语法)的方式,更加有灵活性。

from ddcomponentforandroid.

qiaop avatar qiaop commented on August 16, 2024

啊哦,多谢,这里的File的方式意思就是打包一个aar文件放在compoonentrelease目录下面,然后引用组件的时候直接引用这个目录下的aar。
那么如果我已经发布了正式的aar包到远程maven仓库,那么private void compileComponents(AssembleTask assembleTask, Project project)这个方法里的内容是不是就需要做修改?他会不会还是调用的本地的aar文件?多谢!

from ddcomponentforandroid.

Related Issues (20)

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.