spotless icon indicating copy to clipboard operation
spotless copied to clipboard

configuration cache warning in Android Studio

Open WildOrangutan opened this issue 1 year ago • 2 comments

I've noticed in change logs, that configuration cache support was added. But, when using latest spotless version, my Android studio, still produces a warning, that spotless in not compatible.

With some open issues and this warning I'm confused, is spotless actually safe to use with configuration cache?

WildOrangutan avatar Mar 02 '23 10:03 WildOrangutan

That warning is surprising to me, thanks for reporting! I wonder if it's specific to Android studio...

Spotless is safe to use with configuration cache, in that it will either behave correctly or fail the build and error loudly with this message

Spotless JVM-local cache is stale. Regenerate the cache with rm -rf .gradle/configuration-cache

nedtwigg avatar Mar 03 '23 08:03 nedtwigg

Got the same issue. i have a bunch of plugins. but AS likes to single spotless out. lol

2023-08-30 at 20 52 58

ColtonIdle avatar Aug 31 '23 00:08 ColtonIdle