Code Monkey home page Code Monkey logo

dsappteam / componentcornerstone Goto Github PK

View Code? Open in Web Editor NEW
251.0 251.0 24.0 10.77 MB

:ant::ant: 一种全新的android组件化方案,无需下沉公用代码,无需采用路由等硬编码方式分发sdk,独立维护组件暴露的SDK/IMPL,打破官方模块循环且支持组件间互相调用SDK,支持集成组件调试/组件独立运行。A brand new android componentization solution, no need to sink public code, no need to use hard coding to distribute sdk, independent maintenance component exposed SDK / IMPL, break the official module loop and support the call between components The SDK supports integrated component debugging/components to run independently.

License: MIT License

Java 19.59% Groovy 76.26% Kotlin 4.03% Shell 0.12%
android android-architecture android-component component componentization

componentcornerstone's People

Contributors

linyyy avatar yummylau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

componentcornerstone's Issues

另一个程序正在使用此文件,进程无法访问

将插件引入工程后,改动工程里面的某些代码,重新运行整个工程经常会遇到这个问题:

app\build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar:另一个程序正在使用此文件,进程无法访问。

我也试用过 MIS,也有类似的问题,不知道这个问题是个例还是都有。
虽然 Clean 一下工程,就可以再次运行了,但是,还是很影响开发体验。

使用 :: 多层级创建模块,component.gradle 的 include 不与setting中一致

我现有的项目 setting.gradle 中:
include ':debugEntry' include ':libs:net' include ':component:explore' include ':component:mine' include ':service:account' include ':libs:base' include ':app'

在component.gradle 中必须:
include ':app', ':debugEntry', ':explore', ':mine', ':account'
才能正常识别component, 如果跟setting.gradle 中保持一致,识别不了。

我理解的是component.gradle 中的 include ':module_name' 其中module_name 是指
sdk{ configuration { 'module_name' { } } }
声明的吧。
注释中
//注意:下面使用到的模块命等同于 setting 中申明的模块名,严格遵守规范
是不是有误导。

接下来我再研究下源码确认一下。。。

沟通组件化问题遇到的难点

你好,该组件化架构可以很好的解决组件依赖,可达到高复用,但是如果说业务模块需要业务中的一个单一功能,整个依赖势必会造成依赖方的包增大,怎么样解决这样的一个问题;
还有目前类通过接口进行调用,但是资源文件有好的解决方案吗 ,我们想到的是结构中通过实现方式进行资源文件的暴露,但是这样会很繁琐,请问你那边有什么好的解决方案吗?

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.