Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add javac class target version #104
Without this, the build is dependent on the minor java version used to compile it. By using this flag the code can be compiled with javac 1.7 and used with java 1.6.
This flag does not cover all cases, if the code uses 1.7 specific API calls the compile may not notice (if compiled with 1.7) producing a runtime error. However, that (I believe) is manageable.