Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with Gradle configuration caching #540

Closed
ZacSweers opened this issue Jul 6, 2021 · 2 comments
Closed

Incompatible with Gradle configuration caching #540

ZacSweers opened this issue Jul 6, 2021 · 2 comments

Comments

@ZacSweers
Copy link

If I try to run dependencyUpdates with configuration caching enabled, it fails with the following error message.

Configuration cache problems found in this build.

2 problems were found storing the configuration cache, 1 of which seems unique.
- Task `:dependencyUpdates` of type `com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/7.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

See the complete report at file:///Users/zsweers/dev/slack/slack-gradle-plugin/build/reports/configuration-cache/3bg9tagleu6rnnnfc1sgwfvwc/configuration-cache-report.html
> Invocation of 'Task.project' by task ':dependencyUpdates' at execution time is unsupported.
> Invocation of 'Task.project' by task ':dependencyUpdates' at execution time is unsupported.

@plastiv
Copy link

plastiv commented Aug 18, 2021

Possible duplicate of #410 (comment)

@ZacSweers
Copy link
Author

Seems it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants