gradle 跳过测试直接编译

 gradle build -x test 

原文地址:https://www.cnblogs.com/xiaojf/p/6612400.html