IIRC `file(new File())` might be redundant. I think it should be possible to just do `file(buildDir + '/less')` but I could be wrong.