Skip to content

新建module模块

新建一个单体的模块,并引入到system中使用

使用gradle命令新建module模块

shell
gradle createSubModule -PmoduleName= 模块名 -Pdescription=模块说明

例如:

gradle createSubModule -PmoduleName=new-feature -Pdescription=测试

生成如下: img_12.png

手动添加到system-application

gradle
dependencies {
  api project(':module:new-feature:new-feature-biz')
  ...
}

img_13.png

版权声明