How to create new task in eclipse gradle task tool


(tanubatheja) #1

I have created new task in gradle.build
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.