GROOVY-6698: Consistently use target 1.7 if indy is enabled