代码改变世界

[Android Tips] 23. How to fail/stop Gradle task immediately if some conditions are not met

2016-08-16 14:18  shaobin0604  阅读(266)  评论(0编辑  收藏  举报
throw new GradleException("conditions are not met")

参考 How to fail/stop task immediately if some conditions are not met