1

我有一个多模块 Android 项目,我能够将所有模块发布到 Nexus。

运行后我注意到publishToMavenLocal它运行:

  • 预发布构建
  • compileReleaseAidl
  • compileReleaseRenderscript
  • 更多的...

每个模块,所以我:module1:compileReleaseRenderscript:module2:compileReleaseRenderscript

为了进行快速测试,我想排除发布(或调试)任务,以便构建更快。

如何从publishToMavenLocal所有模块中排除正在运行的发布相关任务?

4

0 回答 0