7.0.0.BETA1: Multiple steps with name 'google-java-format' for spotless format 'java' (original) (raw)
plugins { id 'com.diffplug.spotless' version '7.0.0.BETA1' }
spotless { java { target("compatLib//src//.java") googleJavaFormat().aosp() removeUnusedImports() } kotlin { target("lawnchair/src/**/.kt") ktlint().customRuleSets([ "io.nlopez.compose.rules:ktlint:0.4.3", ]).editorConfigOverride([ "ktlint_compose_compositionlocal-allowlist": "disabled", ]) } }
Could not determine the dependencies of task ':spotlessApply'.
> Could not create task ':spotlessJavaApply'.
> Could not create task ':spotlessJava'.
> Multiple steps with name 'google-java-format' for spotless format 'java'
Reproducer: LawnchairLauncher/lawnchair#4450