gradle 命令行


如:gradle compile test  將執行compile 和test

gradle dist test 將只執行一次compile


-x  : excluding tasks

gradle dist -x test 將不執行test

--continue :  Continuing the build when a failure occurs

支持任務名稱縮寫:  gradle di     (dist)

-b : -b option to select another build file. If you use -b option then settings.gradle file is not used

gradle projects    gives you a list of the sub-projects of the selected project, displayed in a
hierarchy

gradle tasks  展示所選project的所有tasks


gradle dependencies gives you a list of the dependencies of the selected project

gradle properties gives you a list of the properties of the selected project


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章