Skip to content

Gradle 9 configuration-cache issue #936

@wakingrufus

Description

@wakingrufus

Is the Gradle 9 task cache supported?
When i run it with org.gradle.configuration-cache=true I get the following error

Task `:runKtlintFormatOverKotlinScripts` of type `org.jlleitschuh.gradle.ktlint.tasks.KtLintFormatTask`: 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/9.0.0/userguide/configuration_cache_requirements.html#config_cache:requirements:disallowed_types

Originally posted by @erkieh in #935

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions