i've forced gradle to use java platform version 1.6  (major version 50)

note that this is dependant on using rt.jar from java 1.6, or in OSX
classes.jar.  I've hardcoded the path in buld.gradle, you'll probably
need to change it for your OS.