You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be caused by JGit. The configuration cache report has the class org.eclipse.jgit.util.io.SilentFileInputStream accessing .git/HEAD and .git/config. Although this is occurinig within JGit, perhaps theres a call to JGit that can be wrapped in a ValueSource? Or perhaps there’s a configuration to change/disable parts of spotless to fix this?
The text was updated successfully, but these errors were encountered:
the
spotlessCheck
task seems to (indirectly) use the file.git/HEAD
, as switching between branches causes a gradle configuration cache miss.EG:
spotless is configured as follows in the root level
build.gradle.kts
This seems to be caused by JGit. The configuration cache report has the class
org.eclipse.jgit.util.io.SilentFileInputStream
accessing.git/HEAD
and.git/config
. Although this is occurinig within JGit, perhaps theres a call to JGit that can be wrapped in aValueSource
? Or perhaps there’s a configuration to change/disable parts of spotless to fix this?The text was updated successfully, but these errors were encountered: