Followed these instructions in the README and when I sync Gradle changes in IntelliJ IDEA I get the following error:
Build file 'build.gradle' line: 42
A problem occurred evaluating root project.
> Failed to apply plugin class 'com.palantir.javaformat.gradle.PalantirJavaFormatSpotlessPlugin'.
> Could not create an instance of type com.palantir.javaformat.gradle.SpotlessInterop.
> Could not generate a decorated class for type SpotlessInterop.
> com/diffplug/spotless/FormatterStep
Line 42 is the following:
apply plugin: 'com.palantir.java-format'
I am getting the same error, regardless of whether the plugin is installed or not.
Using Gradle 8.14.3.
Any idea what I might be doing wrong?