Gradle调用终端命令(gradle-2.2.1)
Gradle调用终端命令(gradle-2.2.1)task stopTomcat(type:Exec) {
workingDir '../tomcat/bin' //on windows:
commandLine 'cmd', '/c', 'stop.bat' //on linux
commandLine './stop.sh' //store the output
转载
2015-04-16 21:46:58 ·
1252 阅读 ·
0 评论