How to create new task in eclipse gradle task tool

I have created new task in
task copyDepJars(type: Copy) {
from configurations.compile
into ‘./build/libs/’

How to execute this task in eclipse. In gradle tasks, there is option to run and build the application but I don’t know how to execute new task.

I want to run this through the eclipse plugin, don’t want to use gradle copyDepJars command.