Executing multiple tasks on a sub-module in a multi-module project

To run a task in a sub-module, we usually do

gradle :sub-module-name:taskname

Is there any way to execute multiple tasks other than doing -

gradle :sub-module-name:taskname1 :sub-module-name:taskname2

1 Like

Apparently this works

gradle :sub-module:{task1,task2}

Just ran into this myself