[英]compilation avoidance in the new Gradle plugin for Android
I've got a question to the "Compilation avoidance" improvement coming in http://tools.android.com/tech-docs/new-build-system/2-5-alpha-gradle-plugin 我对http://tools.android.com/tech-docs/new-build-system/2-5-alpha-gradle-plugin中的“避免编译”改进有疑问
I assume that from one build to another some already compiled code is stored and, if not changed, will be used for a future compilation again. 我假设从一个构建到另一个构建都会存储一些已经编译的代码,如果没有更改,将再次用于以后的编译。 Where are the compiled binaries stored?
编译后的二进制文件存储在哪里? is it going to be "build" directory of the project or somewhere in Gradle caches?
它会成为项目的“构建”目录还是Gradle缓存中的某个地方?
I wonder if this can speed up performance of my build server. 我想知道这是否可以提高构建服务器的性能。 The current set up is to clean the workspace of a job before building, therefore the cached classes would be erased...
当前的设置是在构建之前清理作业的工作空间,因此将删除缓存的类...
thanks in advance for any hint 在此先感谢您的任何提示
Avoidance is not caching. 避免不是缓存。 Avoidance is to avoid to re-compile what didn't change.
避免是避免重新编译未更改的内容。 I suggest you read the excellent article on the topic from Gradle: https://blog.gradle.org/incremental-compiler-avoidance
我建议您阅读Gradle上有关该主题的出色文章: https : //blog.gradle.org/incremental-compiler-avoidance
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.