ENG-4741: Remove java 7 checks from Groovy.
They are coming in 4.0 globally.