Fix resolution strategy for Groovy.
Fix resolution strategy for Groovy.

+ Before no versions were output.
+ This fix is based on the discussion in
  https://github.com/ben-manes/gradle-versions-plugin/issues/344.

ben-manes/gradle-versions-plugin