Often, build scripts have complex relationships among dependent targets.
通常,构建脚本在相关的目标之间有着复杂的关系。
The dependent targets will be run in their specified order, and then the all target will run.
所依赖的目标将按指定的顺序运行,然后将运行全部目标。
Solution: Define build behavior in build targets; moreover, externalize environment-dependent data into .properties files.
解决方案:在构建目标中定义构建行为;而且,将依赖环境的数据放在外部的 .properties 文件内。
应用推荐