Skip to content

Conversation

shanshin
Copy link
Collaborator

@shanshin shanshin commented Aug 5, 2025

There are two cases where this task works:

  • for the Kover tool it just copies the jar file from dependencies to the build directory
  • for the JaCoCo tool it unzips the file from dependency and copies its content to the build directory

For both these cases using build cache is uneffective, since local copying and uzipping are fast itself. But using build cache inflates it, and it runs slower because the build cache performs some number of additional calculations and archiving.

Fixes #748

There are two cases where this task works:
- for the Kover tool it just copies the jar file from dependencies to the build directory
- for the JaCoCo tool it unzips the file from dependency and copies its content to the build directory

For both these cases using build cache is uneffective, since local copying and uzipping are fast itself. But using build cache inflates it, and it runs slower because the build cache performs some number of additional calculations and archiving.

Fixes #748
@shanshin shanshin requested a review from sandwwraith August 5, 2025 18:47
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 this pull request may close these issues.

KoverAgentJarTask cached execution is slower than not cached
1 participant