How to remove a project from the Gradle Tasks view or clean the view?

2.7k views Asked by At

Here is my Gradle Tasks view:

enter image description here

There is a ThisProj project which is not in the eclipse workspace but it is in the Gradle Tasks. The problem was that while the project was in the workspace it appeared twice in this view so I removed it from the workspace in attempt to import it so it will show only once.

If the project is in the workspace I get 2 "open" icon directories with the same name. If it is not I get 1 "closed" icon directories like above. None of the tasks can be executed - they are all grayed out. How do I clean this list or remove the project?

1

There are 1 answers

2
Rupesh Kumar On

Go to command prompt and

First:

run gradle cleanEclipse to clean the Eclipse configuration completely

Then gradle eclipse to rebuild the Eclipse configuration

This will clean the Gradle Tasks list