blog tasks type mman 执行 adl col command
tasks.create("name": "testAssemble", "type": Exec) { workingDir "../" commandLine "./gradlew", "assembleDebug"}
Android Gradle 自定义任务执行命令行
来源: http://www.bubuko.com/infodetail-2137266.html