Anyone else seeing errors like <this> when upgradi...
# detekt
s
Anyone else seeing errors like this when upgrading to version 2.0.0-alpha.5:
Copy code
2
* What went wrong:
Error while saving task graph
> Configuration cache state could not be cached: field `provider` of `org.gradle.internal.serialize.codecs.core.ProviderBackedFileCollectionSpec` bean found in field `__detektClasspath__` of task `:cli:detektAppleMainSourceSet` of type `dev.detekt.gradle.Detekt`: error writing value of type 'org.gradle.api.internal.DefaultNamedDomainObjectCollection$ExistingNamedDomainObjectProvider'
   > Could not resolve all files for configuration ':cli:detekt'.
      > Could not resolve all dependencies for configuration ':cli:detekt'.
         > Could not find dev.detekt:detekt-cli:2.0.0-alpha.5.
           Searched in the following locations:
             - <https://repo.maven.apache.org/maven2/dev/detekt/detekt-cli/2.0.0-alpha.5/detekt-cli-2.0.0-alpha.5.pom>
           Required by:
               project ':cli'
yes black 1
e
I filed an issue with that error you posted https://github.com/detekt/detekt/issues/9415
Seems to be fixed now
s
Indeed, thanks. Seems like Gradle splits out really weird errors about the configuration cache when publications are not complete yet.