Enforced java/scala compiles using atleast 1.6