I am upgrading a Spring MVC application from Java 1.8 to Java 17. I have tried to update the groovy version from 2.4.x to 3.0.15. If I run the clean build, either from IntelliJ terminal or Mac command prompt, the build runs, but if I refresh using the Gradle refresh image shown on the gradle file, there is an update and the build fails with the following exception:
Could not find groovy-all-3.0.15-indy.jar (org.codehaus.groovy:groovy-all:3.0.15).
Searched in the following locations:
https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/3.0.15/groovy-all-3.0.15-indy.jar
I do understand that indy.jar
is not part of groovy, but why is IntelliJ trying to get indy.jar
?
I have tried to change grooy-all
to groovy
, but the build needs other dependencies which are bundled with groovy-all
.