I don’t see any obvious problems, but I’m wondering if it’s ok to use / rather than File.separator when I’m writing my build files. Using File.separator makes it very difficult to read some of the paths. Ex:
dependsDir = "${buildDir}${File.separator}depends"
vs
dependsDir = "${buildDir}/depends"
The forward slash (/) is a legal path separator on Windows, as well as Unix (including Linux and Mac OSX). So unless you need the build to run on other operating systems, it shouldn’t be a problem.