Skip to content
This repository has been archived by the owner on Jul 30, 2023. It is now read-only.

Provide support for Gradle configuration cache #13

Open
leinardi opened this issue Jul 10, 2023 · 1 comment
Open

Provide support for Gradle configuration cache #13

leinardi opened this issue Jul 10, 2023 · 1 comment

Comments

@leinardi
Copy link

The version 1.69.0 of the plugin doesn't support Gradle configuration cache:

Found 4 changed files with 0 violations
Asking GitHubCommentsProvider to comment:

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache problems found in this build.

1 problem was found storing the configuration cache.
- Task `:violationCommentsToGitHub` of type `se.bjurr.violations.comments.github.plugin.gradle.ViolationCommentsToGitHubTask`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.1.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

See the complete report at file:///home/runner/work/link2-android/link2-android/build/reports/configuration-cache/5ff9v7tgu1fsnwk9i44qcuwf6/5nnecs7so9xp60nycdtqd3gsl/configuration-cache-report.html
> Invocation of 'Task.project' by task ':violationCommentsToGitHub' at execution time is unsupported.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org/

BUILD FAILED in 59s

More info on Gradle configuration cache here: https://docs.gradle.org/current/userguide/configuration_cache.html

@tomasbjerre
Copy link
Owner

I tried upgrading to Gradle 8 to have a look at this but is getting some problems: tomasbjerre/gradle-scripts#7

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

No branches or pull requests

2 participants