Skip to content

Plugin is incompatible with gradle configuration cache #9

@abendt

Description

@abendt

The plugin cannot be used in a project that also uses the new configuration cache (https://docs.gradle.org/7.2/userguide/configuration_cache.html)

When trying to enable the config cache there is a build failure and this message:

FAILURE: Build failed with an exception.

  • What went wrong:
    Configuration cache problems found in this build.
- Task `:app:validateYaml` of type `at.zierler.gradle.YamlValidatorTask`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/7.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

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