Skip to content

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

Closed

Description

@JoseAlcerreca

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

Activity

  1. added
    bug
    on Nov 7, 2023
  2. JoseAlcerreca commented on Nov 7, 2023

    @JoseAlcerreca
    ContributorAuthor

    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?

  3. changed the title [-][Bug]: Configuration cache might be disabled due to *OssLicensesTask [/-] [+][Bug]: Configuration cache disabled due to *OssLicensesTask [/+] on Nov 10, 2023
  4. added a commit that references this issue on Nov 10, 2023
    f104210
  5. Goooler commented on Dec 11, 2023

    @Goooler
    Contributor

    We can consider migrating to Licensee to fully support CC.

  6. added a commit that references this issue on Jan 26, 2024
    3f22248
  7. added a commit that references this issue on Feb 25, 2026
    e360f52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions