Skip to content

Configuration Cache Issue: “Cannot reference a Gradle script object from a Groovy closure” #263

@Prince593

Description

@Prince593

When enabling Gradle Configuration Cache, builds fail with the following error:

Cannot reference a Gradle script object from a Groovy closure as these are not supported with the configuration cache.

I’ve opened a pull request that resolves this issue by updating the affected Gradle configuration to be fully compatible with the Configuration Cache:

🔗 PR: #257

Added type: Delete to the task & removed doFirst

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions