Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Cache Java toolchains downloaded by Gradle #33

Closed
eskatos opened this issue Sep 23, 2020 · 2 comments
Closed

Cache Java toolchains downloaded by Gradle #33

eskatos opened this issue Sep 23, 2020 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@eskatos
Copy link
Member

eskatos commented Sep 23, 2020

See https://docs.gradle.org/6.7-rc-1/release-notes.html#jvm-toolchains

@eskatos eskatos added the enhancement New feature or request label Sep 23, 2020
@bigdaz
Copy link
Member

bigdaz commented Oct 28, 2021

This is now possible using gradle-home-cache-includes: https://github.com/gradle/gradle-build-action#gradle-user-home-cache-tuning.

But I agree it would be good to do this by default.

@etiennestuder
Copy link
Member

People need to know a lot of details/internals if they have to work with gradle-home-cache-includes. I find this not very end-user friendly. e.g., I personally I have no idea where the downloaded jdks are stored (I'm sure I could find out).

@bigdaz bigdaz added this to the v2.1 milestone Nov 1, 2021
bigdaz added a commit that referenced this issue Dec 17, 2021
bigdaz added a commit that referenced this issue Dec 18, 2021
bigdaz added a commit that referenced this issue Dec 18, 2021
bigdaz added a commit that referenced this issue Dec 18, 2021
In order to cache the expanded toolchains instead of the downloaded distributions,
the pattern for matching an artifact cache 'bundle' was tweaked slightly.

Fixes #33
@bigdaz bigdaz closed this as completed in c157d0a Dec 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants