Skip to content

Configuration cache support #137

@fprochazka

Description

@fprochazka

Hi, I've tried using the plugin with a project with the configuration cache enabled, and it failed. Not sure why. To be precise, I had it in a project, which I then included into another project with includeBuild()

Configuration cache problems found in this build.

* Exception is:
org.gradle.internal.cc.impl.ConfigurationCacheProblemsException: Configuration cache problems found in this build.

6 problems were found storing the configuration cache, 1 of which seem unique.
- Task `:framefork-typed-ids:typed-ids:generatePackageInfo` of type `io.github.joselion.strictnullcheck.lib.GeneratePackageInfoTask`: 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.10/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///.../configuration-cache-report.html

BUILD FAILED in 2s
125 actionable tasks: 2 executed, 123 up-to-date
Configuration cache entry discarded with 6 problems.

The report showed the following

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions