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
It would be nice to have Gradle Configuration Cache Support in diktat-gradle-plugin.
Now I get this error when running the :diktatCheck task wih Gradle Configuration Cache enabled:
2 problems were found storing the configuration cache, 1 of which seems unique.
- Task `:diktatCheck` of type `org.cqfn.diktat.plugin.gradle.DiktatJavaExecTaskBase`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.3/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
Diktat version: 1.2.5
The text was updated successfully, but these errors were encountered:
to your build.gradle. Which obviously doesn't provide support for configuration cache. But at least, allows gradle to run it
@nulls maybe you should consider this adding this as workaround for people with configuration cache enabled. As it stops from using diktat in some configurations. For example, in mine, I run formatter on every build
to your build.gradle. Which obviously doesn't provide support for configuration cache. But at least, allows gradle to run it
@nulls maybe you should consider this adding this as workaround for people with configuration cache enabled. As it stops from using diktat in some configurations. For example, in mine, I run formatter on every build
@ForsHant thanks for a tip. Will add it to README.md
It would be nice to have Gradle Configuration Cache Support in diktat-gradle-plugin.
Now I get this error when running the
:diktatCheck
task wih Gradle Configuration Cache enabled:Diktat version: 1.2.5
The text was updated successfully, but these errors were encountered: