gradle 两种task 添加 description 的方法

来源:互联网 发布:淘宝塑唐玩具是正品吗 编辑:程序博客网 时间:2024/05/16 19:15

第一种:

task test() {    description "this is task description"    // do...}

第二种:

task test(dependsOn: war, description: "this is task description") << {    // do...}
原创粉丝点击