Fix deprecated gradle configuration in lang-java for gradle 7.0 support.
Fix deprecated gradle configuration in lang-java for gradle 7.0 support.

rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin