spotbugs-gradle-plugin icon indicating copy to clipboard operation
spotbugs-gradle-plugin copied to clipboard

Configuration Cache compatibilities

Open Goooler opened this issue 1 year ago • 0 comments

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

Goooler avatar Jan 18 '24 15:01 Goooler