Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有某种类似的命令gradlew help <task>提供有关特定任务中到底发生了什么的文档?
gradlew help <task>
有
gradle help --task <taskname>
现在正是这个。
gradlew -dry-run <task>
将显示该命令将执行的内容。一个快捷版本是:
gradlew -m <task>
还
gradlew tasks
将显示所有任务及其依赖项的列表。