Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions