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

Configuration Cache compatibilities #1096

Closed
Goooler opened this issue Jan 18, 2024 · 0 comments · Fixed by #1245
Closed

Configuration Cache compatibilities #1096

Goooler opened this issue Jan 18, 2024 · 0 comments · Fixed by #1245

Comments

@Goooler
Copy link
Contributor

Goooler commented Jan 18, 2024

There are still some CC compatibility issues like

Could not load the value of field `factory` of `org.gradle.api.internal.FactoryNamedDomainObjectContainer` bean found in field `reports` of task `:spotbugsMain` of type `com.github.spotbugs.snom.SpotBugsTask`.	
> com.github.spotbugs.snom.SpotBugsTask$$Lambda$1164/0x0000000100a5f840
1 problem was found storing the configuration cache.	
- Task `:spotbugsMain` of type `com.github.spotbugs.snom.SpotBugsTask`: invocation of 'Task.project' at execution time is unsupported.	
  See https://docs.gradle.org/7.6.3/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

We can repro it at #1095

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

Successfully merging a pull request may close this issue.

1 participant