Running multiple task from subproject


(Sridharan Kuppa) #1

I would like to invoke multiple task from one of the sub-project in a simple way. I am able to specify each task with fully qualified task name such as :sub-project-name:task-name. It works great but when I am trying to execute multiple task from the sub-project then it is not convenient. I would like to propose an idea that we can have comma separated list of task-name after the sub-project to run multiple task on that sub-project. For example,

gradle :sub-project:task1,task2,task3
gradle :sub-project:clean,generateSchema,testSchema