Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Nov 19, 2025

Fixes ./gradlew :testing:agent-for-testing:jar --configuration-cache

* What went wrong:
Configuration cache state could not be cached: field `mergePaths` of `org.gradle.api.java.archives.internal.DefaultManifestMergeSpec` bean found in field `manifestMergeSpecs` of `org.gradle.api.java.archives.internal.DefaultManifest` bean found in field `manifest` of task `:testing:agent-for-testing:jar` of type `org.gradle.api.tasks.bundling.Jar`: error writing value of type 'java.util.ArrayList'
> Cannot expand ZIP 'C:\src\opentelemetry-java-instrumentation-4\javaagent\build\libs\opentelemetry-javaagent-2.23.0-SNAPSHOT-base.jar' as it does not exist.

Create proper task types (ExtractAgentJar, ExtractAgentManifest) with explicit
inputs and outputs instead of using zipTree() at task configuration time.
@trask trask marked this pull request as ready for review November 19, 2025 22:41
@trask trask requested a review from a team as a code owner November 19, 2025 22:41
@trask
Copy link
Member Author

trask commented Nov 19, 2025

Superseded by #15390

@trask trask closed this Nov 19, 2025
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.

2 participants