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

Configuration caching problem

Open plnice opened this issue 3 years ago • 0 comments

Steps to reproduce:

  1. Attach plugin (tested version 0.4) to the project that is based on Gradle 7.3.3 and has org.gradle.unsafe.configuration-cache=true in gradle.properties
  2. Run ./gradlew snyk-test
  3. Gradle reports configuration caching problem:
- Task `:snyk-check-binary` of type `io.snyk.gradle.plugin.SnykBinaryTask`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/7.3.3/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

plnice avatar Jan 26 '22 09:01 plnice