Fixed gradle to build with 1.7 source.