Hide some unused tasks

(k naike) #1


I would like to know if it’s possible to hide some tasks that I don’t use directly.

I’m working with eclipse and the Gradle Tooling ( https://github.com/SpringSource/eclipse-integration-gradle ).

Here is an example to illustrate the operation that I want to do: From the gradle task view of my IDE, I only use cleanEclipse and eclipse task. But this 2 tasks depends on some other tasks that are listed in my gradle view.

I just want to see the 2 top tasks (cleanEclipse and eclipse task) and hide their tasks dependencies.

My main goal is to hide tasks (or actions within the task definition) that I don’t use directly.

Is it possible to do that? I didn’t find anything in the user guide of gradle.

Thank in advance for help or explanation.