If you are submitting a bug, please include the following:
Spotless 7.0 beta 3 and beta4 break configuration cache in GoogleJavaFormatStep.
Caused by: org.gradle.api.GradleException: Add a step with [com.google.googlejavaformat:google-java-format:1.24.0] into the `spotlessPredeclare` block in the root project.
at com.diffplug.gradle.spotless.GradleProvisioner$DedupingProvisioner.lambda$new$0(GradleProvisioner.java:99)
at com.diffplug.spotless.JarState.provisionWithTransitives(JarState.java:109)
at com.diffplug.spotless.JarState.from(JarState.java:98)
at com.diffplug.spotless.JarState.from(JarState.java:93)
at com.diffplug.spotless.java.GoogleJavaFormatStep.lambda$createInternally$1(GoogleJavaFormatStep.java:106)
at com.diffplug.spotless.JarState$Promised.get(JarState.java:53)
at com.diffplug.spotless.java.GoogleJavaFormatStep.equalityState(GoogleJavaFormatStep.java:152)
at com.diffplug.spotless.FormatterStepSerializationRoundtrip.stateSupplier(FormatterStepSerializationRoundtrip.java:57)
at com.diffplug.spotless.ThrowingEx.get(ThrowingEx.java:67)
at com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone.writeObject(FormatterStepSerializationRoundtrip.java:113)
If you're just submitting a feature request or question, no need for the above.
If you are submitting a bug, please include the following:
Spotless 7.0 beta 3 and beta4 break configuration cache in GoogleJavaFormatStep.
Gradle 8.11-rc-1 and 8.10.2
Spotless Gradle 7.0.0.BETA4 and BETA3
MacOS Sonoma
Spotless config: https://github.com/slackhq/foundry/blob/18bc3f44d0aabdd71f01aaa43e9a4d2cbdab7bdb/platforms/gradle/foundry-gradle-plugin/src/main/kotlin/foundry/gradle/FoundryBasePlugin.kt#L101-L178
If you're just submitting a feature request or question, no need for the above.