LSPosed / LSPollution

Android app bundle resource obfuscator.
Apache License 2.0
27 stars 4 forks source link

Configuration Cache Error #2

Open eakteam opened 1 year ago

eakteam commented 1 year ago
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 commented 1 year ago

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)