0

spotlessDiagnose diverges after 10 steps message, is seen and doesn't let us modify importOrder across all files. How do we resolve this

gradlew spotlessDiagnose

> Task :spotlessJavaDiagnose
    src/main/java/com/foo/repository/Foo.java diverges after 10 steps
    src/main/java/com/foo/repository/Bar.java diverges after 10 steps

My definition looks like this

spotless {
    java {
        importOrder()
    }   
}
Rpj
  • 5,348
  • 16
  • 62
  • 122
  • Check if this helps: https://github.com/diffplug/spotless/blob/main/PADDEDCELL.md – pringi Sep 26 '22 at 12:37
  • I do understand how it works, I have attached my definition above. I want to understand how to go about fixing this – Rpj Sep 26 '22 at 12:47

0 Answers0