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 Error #2

Open
eakteam opened this issue Nov 28, 2023 · 1 comment
Open

Configuration Cache Error #2

eakteam opened this issue Nov 28, 2023 · 1 comment

Comments

@eakteam
Copy link
Contributor

eakteam commented Nov 28, 2023

17 problems were found storing the configuration cache, 8 of which seem unique.
- Task `:app:lspollutionRelease` of type `org.lsposed.lspollution.plugin.LSPollutionTask`: cannot serialize object of type 'com.android.build.gradle.internal.tasks.ProcessJavaResTask', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.5-rc-3/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:app:lspollutionRelease` of type `org.lsposed.lspollution.plugin.LSPollutionTask`: cannot serialize object of type 'com.android.build.gradle.tasks.AnalyzeDependenciesTask', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.5-rc-3/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:app:lspollutionRelease` of type `org.lsposed.lspollution.plugin.LSPollutionTask`: cannot serialize object of type 'com.android.build.gradle.tasks.JavaPreCompileTask', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.5-rc-3/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:app:lspollutionRelease` of type `org.lsposed.lspollution.plugin.LSPollutionTask`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer', a subtype of 'org.gradle.api.artifacts.ConfigurationContainer', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.5-rc-3/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:app:lspollutionRelease` of type `org.lsposed.lspollution.plugin.LSPollutionTask`: cannot serialize object of type 'org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler', a subtype of 'org.gradle.api.artifacts.dsl.DependencyHandler', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.5-rc-3/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:app:lspollutionRelease` of type `org.lsposed.lspollution.plugin.LSPollutionTask`: 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.5-rc-3/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:app:lspollutionRelease` of type `org.lsposed.lspollution.plugin.LSPollutionTask`: cannot serialize object of type 'org.gradle.api.tasks.compile.JavaCompile', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.5-rc-3/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:app:lspollutionRelease` of type `org.lsposed.lspollution.plugin.LSPollutionTask`: cannot serialize object of type 'org.jetbrains.kotlin.gradle.plugin.PropertiesBuildService', a subtype of 'org.gradle.api.services.BuildService', as these are not supported with the configuration cache.
  See https://docs.gradle.org/8.5-rc-3/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
@eakteam
Copy link
Contributor Author

eakteam commented Nov 29, 2023

After disabling the cache in gradle it works but in the end it still produce error:

Execution failed for task ':app:lspollutionRelease'.
> java.lang.UnsupportedOperationException (no error message)

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