Set groovy syntax mode for gradle scripts.