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

Incompatibility with gradle configuration cache #66

Open
Spikhalskiy opened this issue Nov 1, 2023 · 3 comments · Fixed by #68
Open

Incompatibility with gradle configuration cache #66

Spikhalskiy opened this issue Nov 1, 2023 · 3 comments · Fixed by #68

Comments

@Spikhalskiy
Copy link

Spikhalskiy commented Nov 1, 2023

When attempting to enable gradle configuration cache in a project with this plugin applied, the build fails with

Configuration cache entry discarded with 1 problem.
FAILURE: Build failed with an exception.

* What went wrong:
Configuration cache problems found in this build.

1 problem was found storing the configuration cache.
- Task `:coverallsJacoco` of type `org.gradle.api.DefaultTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

Gradle Configuration Cache is an experimental feature that is turned off by default, but most major plugins at this moment already support it. It would be great to see Coveralls plugin supporting it too.
https://docs.gradle.org/current/userguide/configuration_cache.html

@Spikhalskiy
Copy link
Author

The problem still exists in 1.2.18

@nbaztec
Copy link
Owner

nbaztec commented Jan 10, 2024

Yeah, I was hoping for a reproducible example for this use case to help fix this one.

@nbaztec nbaztec reopened this Jan 10, 2024
@SingingBush
Copy link

This issue can be replicated in https://github.com/intellij-dlanguage/intellij-dlanguage by running ./gradlew koverXmlReport coverallsJacoco

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

Successfully merging a pull request may close this issue.

3 participants