How to get current task's info?


(Sanchez) #1

Hi All eXpert,

Is it possible to get current task’s info like name inside a groovy plug-in task during a task execution?

I need specify some attribute based on current task’s name.

thanks for your support in advance.

(Sanchez) #2

project.gradle.startParameter.taskNames contain task names.