蚂蚁重建库项目,每次 [英] Ant rebuilding library projects every time
问题描述
我有一个Android项目,其中包括两款Android库项目。
I have an Android project that includes two Android Library projects.
我使用的命令蚂蚁调试
建项目,它需要大约1分20秒和。我数有17秒用来编译第一款Android库项目和42秒用来编译第二款Android库项目。
I'm using the command ant debug
to build the project and it takes around 1min and 20sec. I've counted that 17 seconds are used to compile the first android library project and 42 seconds are used to compile the second android library project.
由于这两个相关项目很少更新,没有必要每次都编译它们。
Since these two dependency projects are rarely updated it's not necessary to compile them each time.
我怎样才能避免蚂蚁编译两款Android库项目各建设?
How can I avoid ant compiling the two Android library projects each build?
推荐答案
添加
dont.do.deps = 1
您 local.properties
(或通过该属性到Ant其他方式)
Add
dont.do.deps=1
to your local.properties
(or pass this property to ant some other way)
这篇关于蚂蚁重建库项目,每次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!