Open
Description
Spotless 6.20.0 does not get along well with the Spring Dependency Management Plugin in recent versions.
I'm getting
Could not determine the dependencies of task ':spotlessCheck'.
> Could not create task ':spotlessGroovyCheck'.
> Could not create task ':spotlessGroovy'.
> You need to add a repository containing the '[dev.equo.ide:solstice:1.3.1, [...], org.osgi:org.osgi.util.promise:1.3.0, org.tukaani:xz:1.9]' artifact in 'build.gradle'.
E.g.: 'repositories { mavenCentral() }'
It does work with io.spring.dependency-management
1.1.0.
This is the changelog for 1.1.1: https://github.com/spring-gradle-plugins/dependency-management-plugin/releases/tag/v1.1.1
I'm raising the issue here because I found similar bug reports in the closed issues and it's probably easier for the Spotless devs to figure out what might be happening here.
Sample project: sample.zip