simplify generation of argument list
function as before,
just removed the not deeded convert of Filetree to list and let gradle use directly use the source file name (without not needed toString() call.
@@ -46,5 +46,5 @@ task applyStyle(type:JavaExec) {
include '**/*.java'
}
args("-r") // replace cmd, means write changes back to source file
- tree.toList().each {args = args + (it.toString())}
+ tree.each {args += it}
}
\ No newline at end of file
