我有一个多模块 Android 项目,我能够将所有模块发布到 Nexus。
运行后我注意到publishToMavenLocal
它运行:
- 预发布构建
- compileReleaseAidl
- compileReleaseRenderscript
- 更多的...
每个模块,所以我:module1:compileReleaseRenderscript
有:module2:compileReleaseRenderscript
为了进行快速测试,我想排除发布(或调试)任务,以便构建更快。
如何从publishToMavenLocal
所有模块中排除正在运行的发布相关任务?