Skip to content

Support gradle configuration cache #109

@tnielens-centrica

Description

@tnielens-centrica

Could the plugin support gradle's configuration cache. In a project of mine, I'm trying to enable configuration caching and I face issues related to the scalatest plugin.

7 problems were found storing the configuration cache, 2 of which seem unique.
- Task `:mymodule:scalatest` of type `org.gradle.api.tasks.testing.Test`: invocation of 'Task.extensions' at execution time is unsupported.
  See https://docs.gradle.org/8.5/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:mymodule:scalatest` of type `org.gradle.api.tasks.testing.Test`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.5/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

See the complete report at file:///Users/.../myproject/build/reports/configuration-cache/1cfz0i8amiecbedz4kzv164lv/pmwrq5lxr240gzklhrr8yjh/configuration-cache-report.html
> Invocation of 'Task.extensions' by task ':mymodule:scalatest' at execution time is unsupported.
> Invocation of 'Task.project' by task ':mymodule:scalatest' at execution time is unsupported.

I'm using gradle 8.5 and com.github.maiflai.scalatest 0.32.

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