I only have this in my build.gradle file
project.task ("Task1")
task("Task2")
task Task3
I am using Gradle version 3.5 and when I execute
gradle tasks
in command line, no tasks are shown. But when I do
gradle tasks --all
, then I can see my tasks
Other tasks
-----------
Task1
Task2
Task3
Do we need to always use gradle tasks --all
to see all the tasks? In some tutorial website, they just use gradle tasks
and all tasks will be shown. Wondering where do I do wrongly here. Thanks.