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

Usage of Task.project prevents use of configuration cache #1151

Open
bmuschko opened this issue Apr 7, 2023 · 6 comments
Open

Usage of Task.project prevents use of configuration cache #1151

bmuschko opened this issue Apr 7, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@bmuschko
Copy link

bmuschko commented Apr 7, 2023

Issue Description

Run build with --configuration-cache. You will receive the following error message for your plugin.

invocation of Task.project at execution time is unsupported.

Steps to Reproduce

Apply your plugin. Run build with --configuration-cache.

Expected Result

Gradle does not report configuration cache error anymore.

Actual Result

Error message is rendered.

Your Environment and Setup

  • graphql-java-codegen version: v5.7.1
  • Build tool: Gradle 8.0
@bmuschko bmuschko added the bug Something isn't working label Apr 7, 2023
@bmuschko
Copy link
Author

Is this something you are planning to fix soon or would you rather want to receive a pull request?

@bmuschko
Copy link
Author

It looks to me as if the PR was closed but not merged.

@kobylynskyi kobylynskyi removed this from the 5.7.2 milestone Apr 26, 2023
@kobylynskyi kobylynskyi reopened this Apr 26, 2023
@kobylynskyi
Copy link
Owner

Yes, you are right. I've removed it from 5.7.2 release.

@esfomeado
Copy link
Contributor

@kobylynskyi I gave it a try but I wasn't able to get it to work.

Are you able to look at this?

Thanks

@vvvlasov
Copy link

Hi! This is still an issue as of 5.10.0, do you need any help to get it done?

@esfomeado
Copy link
Contributor

@vvvlasov Yes please

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

4 participants