There was some type weirdness here with the argument that distinct takes. Would you prefer that this use dependencyJars.distinct? The java function doesn't do anything special as far as I know.