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 issues with this plugin when benchmarking remote cache #357

Open
amitkma opened this issue Jul 5, 2024 · 1 comment

Comments

@amitkma
Copy link

amitkma commented Jul 5, 2024

When benchmarking the remote cache with the command ./gradlew :app:assembleDebug -PbenchmarkRemoteCache, we get the following error:

1 problem was found storing the configuration cache.
- Plugin 'com.osacky.doctor': registration of listener on 'Gradle.addBuildListener' is unsupported
  See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:build_listeners

See the complete report at file:///Users/workspace/AndroidStudioProjects/dotmystyle/build/reports/configuration-cache/4wx3lu94wexg1r9ckdkiydd4l/20qonk44hz410kf2094n8n8nj/configuration-cache-report.html
> Listener registration 'Gradle.addBuildListener' by build 'dotmystyle' is unsupported.

Any suggestions or configuration changes that can be done to avoid this issue?

Thank you very much :)

@runningcode
Copy link
Owner

Thanks for reporting. This will need to be reworked. I'm open to PRs. In the meantime, can you disable configuration cache for workflows that use the benchmark?

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

2 participants