prettier()step. It's npm requirements are documented here: https://github.com/diffplug/spotless/blob/main/plugin-gradle/README.md#npm-detection
javaplugin. You should have gotten the same error in earlier versions of Spotless too, if you weren't applying the
javaplugin then either. Is it possible there were more changes in your buildscript than just the spotless version? There could also be other plugins which used to apply the
javaplugin, but now don't (I'm speculating, but maybe something like
kotlin-multiplatformmight apply the java plugin, and then stop doing that in a future version, I don't know.
javathat is missing.
Hey there, I'm trying to upgrade from 3.X version to the latest and copying when I see in the https://plugins.gradle.org/plugin/com.diffplug.spotless
I just get an error
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'com.diffplug.gradle.spotless'.
Caused by: org.gradle.api.GradleException: We have moved from 'com.diffplug.gradle.spotless'
*.gradlefiles. See this changelog entry for more info.
12:46:03.345 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':server-backend-spi:spotlessJava'. > java.io.EOFException * Try: Run with --scan to get full insights. * Exception is: .... Caused by: com.diffplug.common.base.Errors$WrappedAsRuntimeException: java.io.EOFException at com.diffplug.common.base.Errors.asRuntime(Errors.java:408) at com.diffplug.gradle.spotless.SerializableMisc.fromStream(SerializableMisc.java:65) at com.diffplug.gradle.spotless.SerializableMisc.fromFile(SerializableMisc.java:44) ..... Caused by: java.io.EOFException at com.diffplug.gradle.spotless.SerializableMisc.fromStream(SerializableMisc.java:60) ... 92 more