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

Plugin com.google.android.gms.oss-licenses-plugin is not compatible with Gradle's configuration cache #300

Open
NinoDLC opened this issue Aug 14, 2024 · 0 comments

Comments

@NinoDLC
Copy link

NinoDLC commented Aug 14, 2024

Describe the bug
The plugin com.google.android.gms.oss-licenses-plugin is not compatible with Gradle's configuration cache.

To Reproduce
Steps to reproduce the behavior:

  1. Enable configuration cache in gradle.properties : org.gradle.configuration-cache=true
  2. Build : ./gradlew assembleDebug
  3. See error:
1147 problems were found storing the configuration cache, 1 of which seem unique.
- Task `fooReleaseOssLicensesTask` of type `com.google.android.gms.oss.licenses.plugin.LicensesTask`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.7/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

Expected behavior
Configuration cache should work when the plugin is used.

Desktop (please complete the following information):

  • Gradle version: 8.7
  • Plugin name and version: version: com.google.android.gms.oss-licenses-plugin:0.10.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant