如果我们只在终端执行“gradle”命令,结果如下。
$ gradle
> Task :help
Welcome to Gradle 4.10.
To run a build, run gradle <task> ...
To see a list of available tasks, run gradle tasks
To see a list of command-line options, run gradle --help
To see more detail about a task, run gradle help --task <task>
For troubleshooting, visit https://help.gradle.org
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
它是什么?我想知道采取了什么行动
Task :help
是你的线索。它默认运行help
任务。要更改它,请参阅Gradle文档中的Default Tasks,以获得有关如何更改Gradle项目的默认任务的一些见解。