The usage of java.nio.file.* will only work on JDK 7, and perhaps other classes as well. Gradle itself is advertised as working on JDK 1.5, so I would suggest that your audience would be larger if you can limit your code to using JDK classes and methods present in JDK 1.5.
The usage of java.nio.file.* will only work on JDK 7, and perhaps other classes as well. Gradle itself is advertised as working on JDK 1.5, so I would suggest that your audience would be larger if you can limit your code to using JDK classes and methods present in JDK 1.5.