设为首页 加入收藏

TOP

Chapter 8. Introduction to multi-project builds 多工程构建介绍(三)
2017-10-13 10:04:58 】 浏览:3464
Tags:Chapter Introduction multi-project builds 工程 构建 介绍
有哪些task,执行tasks任务。

Regardless of which technique you use to execute tasks, Gradle will take care of building any subprojects that the target depends on. You don’t have to worry about the inter-project dependencies yourself. If you’re interested in how this is configured, you can read about writing multi-project builds later in the user guide.

There’s one last thing to note. When you’re using the Gradle wrapper, the first approach doesn’t work well because you have to specify the path to the wrapper script if you’re not in the project root. For example, if you’re in the webservice subproject directory, you would have to run ../../gradlew build.

//使用第一种方法时候如果想要执行gradlew命令,需要切到根工程目录下:../../gradlew build

That’s all you really need to know about multi-project builds as a build user. You can now identify whether a build is a multi-project one and you can discover its structure. And finally, you can execute tasks within specific subprojects.

首页 上一页 1 2 3 下一页 尾页 3/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Chapter 7. Dependency Managemen.. 下一篇Creating Lists and Cards 创建列..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目