Eclipse include project when exists or Library

In the ivy Eclipse plugin, there was the possibility that either a project or the library was taken from the repository.

If the Eclipse project is open in Eclipse Workspace, the project has been included. If the project is closed or missing, it will pull the library out of the repository.

Is there such a possibility also in gradle or buildship plugin?