Open
Description
Describe the bug
Using Gradle with configuration cache enabled, I'm seeing these warnings for the Verify task:
- Task `:verifyLspBinary` of type `de.undercouch.gradle.tasks.download.Verify`: cannot serialize Gradle script object references as these are not supported with the configuration cache.
See https://docs.gradle.org/8.9/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:verifyLspBinary` of type `de.undercouch.gradle.tasks.download.Verify`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
See https://docs.gradle.org/8.9/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
Sample build script
Snippets which may help:
val verifyLspBinary by registering(Verify::class) {
algorithm("sha256")
src(myPath)
checksum("my checksum")
}
gradle.properties:
org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.configureondemand=true
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
Activity