Parallel Gradle task to run concurrently

1k Views Asked by At
task abc(type: Exec){
    commandLine './text1.sh'

}

task def(Type:Exec){
    commandLine './text2.sh'
}

task ListOfTasks(dependsOn['clean']){

doFirst{

    abc.execute()
    def.execute()
}

}

As doFirst is not parallel and I wanna run this two task parallel, how can I achieve this? Is this possible in gradle?

0

There are 0 best solutions below