是否可以打印(使用cmd)仅我在build.gradle
中声明的
命令gradle tasks
会打印许多其他任务。
gradle tasks
的输出示例:
Build Setup tasks
-----------------
init - Initializes a new Gradle build.
wrapper - Generates Gradle wrapper files.
Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in root project '1.07-Exercise-ConfigureATask'.
components - Displays the components produced by root project '1.07-Exercise-ConfigureATask'. [incubating]
dependencies - Displays all dependencies declared in root project '1.07-Exercise-ConfigureATask'.
dependencyInsight - Displays the insight into a specific dependency in root project '1.07-Exercise-ConfigureATask'.
dependentComponents - Displays the dependent components of components in root project '1.07-Exercise-ConfigureATask'. [incubating]
help - Displays a help message.
model - Displays the configuration model of root project '1.07-Exercise-ConfigureATask'. [incubating]
projects - Displays the sub-projects of root project '1.07-Exercise-ConfigureATask'.
properties - Displays the properties of root project '1.07-Exercise-ConfigureATask'.
tasks - Displays the tasks runnable from root project '1.07-Exercise-ConfigureATask'.