Build Cache for Gradle v3.6.5

What’s Changed

  • Bump the Bitrise Build Cache CLI to v3.8.5.
  • Gradle analytics now reports each build’s invocation once, and reliably. Builds previously opened a second backend stream at teardown that was never saved or acked, so they ended with Invocation wasn't saved successfully even though the invocation had in fact been reported. Alongside that, invocations could go missing entirely in build shapes that skip the usual teardown path — configuration-cache reuse, Isolated Projects, composite builds, and builds where every task was skipped or --dry-run — and the tail of a build’s task events and task IO could be dropped before the stream ended. All of these now report exactly one complete invocation.