Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache paths require updating for Gradle 8.6+ #45

Closed
bigdaz opened this issue Feb 13, 2024 · 0 comments · Fixed by #163
Closed

Cache paths require updating for Gradle 8.6+ #45

bigdaz opened this issue Feb 13, 2024 · 0 comments · Fixed by #163
Assignees
Labels
enhancement New feature or request in:caching Issue with caching of Gradle User Home
Milestone

Comments

@bigdaz
Copy link
Member

bigdaz commented Feb 13, 2024

In Gradle 8.6, 8.7 and 8.8, some of the storage paths in Gradle User home are changed.

  • In Gradle 8.6, Jar instrumentation is done via artifact transforms, so instrumented jars are now stored in cache/transforms-4 instead of cache/jars-9.
  • In Gradle 8.7, compiled groovy scripts will end up in caches/<gradle-version>/groovy-dsl
  • In Gradle 8.8, artifact transform outputs will be located in caches/<gradle-version>/transforms

We should update the extracted cache entry definitions based on these changes.

At the same time, it may be useful to extract separate "bundles" for caches/8.6/kotlin-dsl and caches/8.7/kotlin-dsl (as well as any other Gradle-version-bound caches that are extracted).

@bigdaz bigdaz added enhancement New feature or request in:caching Issue with caching of Gradle User Home labels Apr 5, 2024
@bigdaz bigdaz added this to the v3.3 milestone Apr 11, 2024
@bigdaz bigdaz self-assigned this Apr 11, 2024
bigdaz added a commit that referenced this issue Apr 11, 2024
- Extracted `groovy-dsl` from each version
- Extracted transform jars

Fixes #45
bigdaz added a commit that referenced this issue Apr 11, 2024
- Extracted transform jars for newer Gradle versions 8.6+
- Extracted `groovy-dsl` which was introduced in Gradle 8.7

Fixes #45
bigdaz added a commit that referenced this issue Apr 11, 2024
- Extracted transform jars for newer Gradle versions 8.6+
- Extracted `groovy-dsl` which was introduced in Gradle 8.7

Fixes #45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in:caching Issue with caching of Gradle User Home
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant