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

[Bug]: Configuration cache disabled due to *OssLicensesTask #1022

Closed
3 tasks done
JoseAlcerreca opened this issue Nov 7, 2023 · 2 comments
Closed
3 tasks done

[Bug]: Configuration cache disabled due to *OssLicensesTask #1022

JoseAlcerreca opened this issue Nov 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@JoseAlcerreca
Copy link
Contributor

JoseAlcerreca commented Nov 7, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

What happened?

% ./gradlew :app:assemble                
Calculating task graph as no configuration cache is available for tasks: :app:assemble
...
Configuration cache entry discarded because incompatible task was found: ':app:demoDebugOssLicensesTask'.

Found google/play-services-plugins#246 where the issue is confirmed.

Relevant logcat output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@JoseAlcerreca JoseAlcerreca added the bug Something isn't working label Nov 7, 2023
@JoseAlcerreca
Copy link
Contributor Author

JoseAlcerreca commented Nov 7, 2023

From gradle docs:

The presence of incompatible tasks in the task graph will cause the configuration state to be discarded at the end of the build unless the global configuration-cache-problems option is set to warn, in which case the configuration state would still be cached in a best-effort manner as usual for the option.

I have no idea if configuration-cache-problems is safe to change. Thoughts?

@JoseAlcerreca JoseAlcerreca changed the title [Bug]: Configuration cache might be disabled due to *OssLicensesTask [Bug]: Configuration cache disabled due to *OssLicensesTask Nov 10, 2023
JoseAlcerreca added a commit that referenced this issue Nov 10, 2023
Fixes #1022

Change-Id: I35040a58974bd6ce0738b38ff582d93787008a86
@Goooler
Copy link
Contributor

Goooler commented Dec 11, 2023

We can consider migrating to Licensee to fully support CC.

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