You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tasks using JGiven will not be cacheable because lambdas are not supported
Non cacheable task action: Additional implementation type was implemented by
the Java lambda 'com.tngtech.jgiven.gradle.JGivenPlugin$$Lambda$206/1491774273'.
Using Java lambdas is not supported, use an (anonymous) inner class instead.
For tracking the implementation of tasks, task actions and nested inputs, Gradle uses the class name and an identifier for the classpath which contains the implementation. There are some situations when Gradle is not able to track the implementation precisely:
Unknown classloader
When the classloader which loaded the implementation has not been created by Gradle, the classpath cannot be determined.
Java lambda
Java lambda classes are created at runtime with a non-deterministic classname. Therefore, the class name does not identify the implementation of the lambda and changes between different Gradle runs.
When the implementation of a task, task action or a nested input cannot be tracked precisely, Gradle disables any caching for the task. That means that the task will never be up-to-date or loaded from the build cache.
The text was updated successfully, but these errors were encountered:
Tasks using JGiven will not be cacheable because lambdas are not supported
https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:how_does_it_work
The text was updated successfully, but these errors were encountered: