clean, that is without a build directory)
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.