Skip to content

add Gradle Build Cache support with handler and tests#87

Open
matikepa wants to merge 2 commits intogit-pkgs:mainfrom
matikepa:gradlew-cache-support
Open

add Gradle Build Cache support with handler and tests#87
matikepa wants to merge 2 commits intogit-pkgs:mainfrom
matikepa:gradlew-cache-support

Conversation

@matikepa
Copy link
Copy Markdown

  • Accepts cache keys at both:
    /gradle/cache/{key}
    /gradle/{key}
  • PUT stores cache entries in storage backend under _gradle/http-build-cache/{key}
  • GET returns stored artifact with Gradle cache content type
  • HEAD returns metadata without body
  • First PUT returns 201 Created; overwrite returns 200 OK
  • Path traversal / invalid keys are rejected

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.

1 participant