Michael
Michael

Reputation: 33297

How can I add custom task to the Eclipse Gradle Task Tab?

The Gradle tab in the Gradle Eclipse plugin has some predefined tasks as listed in the image:

enter image description here

How can I add custom task to the Eclipse Gradle Task Tab?

Upvotes: 4

Views: 3840

Answers (2)

Justin
Justin

Reputation: 2999

Buildship Eclipse plugin only shows public tasks by default.

To show private tasks, select 'Show All Tasks' from the view menu.

enter image description here

Upvotes: 5

Kevin
Kevin

Reputation: 97

In your project First, do you have a .gradle file? This is the place to add your custom tasks.

Upvotes: 0

Related Questions