Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guofudong committed Jan 10, 2019
1 parent 85c27fe commit a8c8f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
>[如何使用Android Studio开发Gradle插件](https://blog.csdn.net/sbsujjbcy/article/details/50782830)
实现了两个功能:
* 1.自动切换library和Application
* **1.自动切换library和Application**
>如果gradle.properties中配置了isRunAlone=true,也就是能够独立运行,那么点击运行按钮可以选择该模块自动运行,无需在build.gradle文件中配置。如果运行的是主module,不管其依赖的module是否可以独立运行,插件自动设置为library。实现真正的自动切换。
```
//不需要再通过变量来控制了
Expand All @@ -36,7 +36,7 @@ if(isHomeModule.toBoolean()){

![](/screenshot/module_run.gif) ![](/screenshot/alone.png)

* 2.主Module在开发时不依赖业务模块,只要在运行打包时才依赖,彻底避免业务模块之间的耦合
* **2.主Module在开发时不依赖业务模块,只要在运行打包时才依赖,彻底避免业务模块之间的耦合**
>通过在build.gradle配置,通过字节码插桩来实现的。
```
combuild {
Expand Down

0 comments on commit a8c8f4a

Please sign in to comment.