Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration cache compatibility #184

Open
ov7a opened this issue Jul 11, 2023 · 1 comment
Open

Configuration cache compatibility #184

ov7a opened this issue Jul 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ov7a
Copy link
Member

ov7a commented Jul 11, 2023

Plugin version 0.14 became incompatible with the configuration cache.

FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache problems found in this build.

1 problem was found storing the configuration cache.
- Task `:compilePlayRoutes` of type `org.gradle.playframework.tasks.RoutesCompile`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.3-20230710200000+0000/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

See the complete report at file:///Users/ov7a/work/gradle_copy/subprojects/smoke-test/build/tmp/te%C5%9Dt%20files/PlayExterna.Test/bbyb/build/reports/configuration-cache/ceytd1kss4ltxedelko6wj4po/4le2nn5j2bwz0jgy3sia0k46i/configuration-cache-report.html
> Invocation of 'Task.project' by task ':compilePlayRoutes' at execution time is unsupported.

0.13 works fine.

This can be reproduced with Gradle's smoke tests

Most probably the problem was introduced with this line

@ov7a ov7a added the bug Something isn't working label Jul 11, 2023
@jbartok
Copy link
Member

jbartok commented Sep 12, 2024

Relates to gradle/gradle#24861, needs to be fixed for Gradle 9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants