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

Rewrite BaseViolationsTask to recent standards? #509

Open
Tracked by #306
TWiStErRob opened this issue Jun 5, 2023 · 0 comments
Open
Tracked by #306

Rewrite BaseViolationsTask to recent standards? #509

TWiStErRob opened this issue Jun 5, 2023 · 0 comments
Labels
a:refactor internal change without functional change on:agp issue related to Android Gradle Plugin on:gradle issue related to Gradle
Milestone

Comments

@TWiStErRob
Copy link
Owner

TWiStErRob commented Jun 5, 2023

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

5 problems were found storing the configuration cache, 4 of which seem unique.
- Task `:violationReportConsoleLateConfiguration` of type `org.gradle.api.DefaultTask`: cannot serialize object of type 'net.twisterrob.gradle.quality.tasks.ConsoleReportTask', a subtype of 'org.gradle.api.Task', as
 these are not supported with the configuration cache.
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:violationReportConsole` of type `net.twisterrob.gradle.quality.tasks.ConsoleReportTask`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:violationReportHtmlLateConfiguration` of type `org.gradle.api.DefaultTask`: cannot serialize object of type 'net.twisterrob.gradle.quality.tasks.HtmlReportTask', a subtype of 'org.gradle.api.Task', as these
 are not supported with the configuration cache.
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:violationReportHtml` of type `net.twisterrob.gradle.quality.tasks.HtmlReportTask`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

See the complete report at file:///P:/projects/workspace/net.twisterrob.inventory/libs/build/reports/configuration-cache/c9xwpb9d6hy0mam640gxuz06r/emjxxfu46i83yl1thtkyx546k/configuration-cache-report.html
> Invocation of 'Task.project' by task ':violationReportConsole' at execution time is unsupported.
> Invocation of 'Task.project' by task ':violationReportHtml' at execution time is unsupported.
@TWiStErRob TWiStErRob mentioned this issue Jun 5, 2023
3 tasks
@TWiStErRob TWiStErRob added this to the v0.16 milestone Jun 5, 2023
@TWiStErRob TWiStErRob added a:feature new feature, improvement or request a:refactor internal change without functional change on:agp issue related to Android Gradle Plugin on:gradle issue related to Gradle and removed a:feature new feature, improvement or request labels Jun 5, 2023
@TWiStErRob TWiStErRob modified the milestones: v0.16, 0.16.1 Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:refactor internal change without functional change on:agp issue related to Android Gradle Plugin on:gradle issue related to Gradle
Projects
None yet
Development

No branches or pull requests

1 participant