Answers for "multiple commandLine commands in a gralde task"

0

multiple commandLine commands in a gralde task

task senchaBuild() {
 doLast {
    senchaBuild_steps()
 }
}

void senchaBuild_steps() {
def webappDir = "$projectDir/src/main/java/"
 exec {
    workingDir 'src/main/app/MYAPP'
    commandLine 'cmd', 'c', 'sencha app build'
 }
 exec {
    workingDir 'src/main/app/MYOTHERAPP'
    commandLine 'cmd', 'c', 'sencha app build'
 }
}
Posted by: Guest on January-20-2021

Code answers related to "multiple commandLine commands in a gralde task"

Browse Popular Code Answers by Language