Commit Graph

240 Commits

Author SHA1 Message Date
Daz DeBoer
a0ee12f71e Extract caching logic into a separate gradle-actions-caching component (#885)
With this change, the caching functionality of `setup-gradle` and
`dependency-submission` is now provided by `gradle-actions-caching`, a
closed-source library distributed under our [Terms of
Use](https://gradle.com/legal/terms-of-use/). The rest of the action
implementation remains open source.

Using `setup-gradle` or `dependency-submission` with caching enabled
involves loading and using the `gradle-actions-caching` component,
requiring acceptance of the [Terms of
Use](https://gradle.com/legal/terms-of-use/). There are no functional
changes to caching provided by these actions: all workflows will
continue to function as before.

The non-caching aspects of action implementation remain open source. By
running these actions with caching disabled they can be used without
ever loading `gradle-actions-caching` or accepting the license terms.

Supporting the caching infrastructure in this project requires a
substantial engineering investment by Gradle Technologies, which we can
sustain thanks to Develocity, our commercial offering. Caching
technologies are a core part of the Develocity offering, and the caching
in `setup-gradle` fits squarely in that space.

This licensing change lets us continue to build advanced capabilities
that go beyond what we would offer as open source. Proper
production-ready Configuration Cache support will be the first
capability. Improving build performance for self-hosted runners will
follow.

We may introduce functionality restrictions in future updates. However,
caching functionality will remain free for public repositories.
We have a long-standing commitment to open source, as maintainers of
Gradle Build Tool, and by [sponsoring the open source
community](https://gradle.com/oss-sponsored-by-develocity/) with free
Develocity licenses. Public repositories are primarily used by open
source projects, and we remain committed to supporting them.

- Implementation of caching logic to save and restore Gradle User Home
content has been removed, replaced by the `gradle-actions-caching`
component.
- The `@actions/caching` library is still used to cache Gradle
distributions that are downloaded and provisioned by `setup-gradle`.
This PR updates to the latest version of `@actions/caching`, and removes
the patch that is no longer required.
- License notices are now displayed in documentation, logs and the
generated Job Summary.
2026-03-18 14:57:27 -06:00
Daz DeBoer
c999154b1f Remove configuration-cache support (#884)
Removes support for configuration-cache extraction and restore from the
caching workflow and related source code. Configuration-cache support
only worked for a limited set of projects (gradle/actions#21), and we
plan to reimplement this properly as part of the
`gradle-actions-caching` project.

The main impact is simplification of the caching logic, focusing only on
common Gradle artifacts. The `ConfigurationCacheEntryExtractor` class
and related logic were deleted from
`sources/src/caching/gradle-home-extry-extractor.ts`.
2026-03-18 14:27:09 -06:00
github-actions[bot]
092fa96ff7 Update known wrapper checksums (#881)
Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
2026-03-16 16:55:58 +01:00
github-actions[bot]
5e8b335505 Update known wrapper checksums (#878)
Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
2026-03-12 13:50:30 -06:00
bot-githubaction
9a834d769a Update known wrapper checksums 2026-02-28 05:38:21 +00:00
github-actions[bot]
e66cf857e9 Update known wrapper checksums (#857)
Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
2026-02-23 13:16:04 -07:00
Daz DeBoer
fa3616072f Remove superfluous text from log message (#861) 2026-02-23 13:13:12 -07:00
Daz DeBoer
2b9247147a Convert project to ESM and update dependencies (#854)
- Switch to esbuild for bundling
- Update npm dependency version
- Add require header for compat with older JS libs
2026-02-10 15:30:49 -07:00
bot-githubaction
7f124f7142 Update known wrapper checksums 2026-02-10 11:10:22 -07:00
bot-githubaction
9d5155435d Bump references to Develocity Gradle plugin from 4.3.1 to 4.3.2 2026-02-10 11:04:52 -07:00
Daz DeBoer
8c7f3ffba4 Bump to v1.4.1 of the dependency-submission plugin 2026-01-27 14:01:25 -07:00
bot-githubaction
221c7f4dbd Update known wrapper checksums 2026-01-27 07:18:50 -07:00
bot-githubaction
4211840687 Bump references to Develocity Gradle plugin from 4.3 to 4.3.1 2026-01-16 02:45:19 +00:00
github-actions[bot]
6d6beca4b5 Update known wrapper checksums (#810)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.

Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
Co-authored-by: Jérôme Prinet <jprinet@gradle.com>
2026-01-02 12:40:20 +01:00
github-actions[bot]
3ae4eec5ca Update known wrapper checksums (#780)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.

Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
Co-authored-by: Jérôme Prinet <jprinet@gradle.com>
2025-12-17 09:47:18 +01:00
Bot Githubaction
3e38fcefc4 Update develocity-injection init script to v2.0.1 (#799)
Updates the develocity-injection init script to the latest reference
script content
from https://github.com/gradle/develocity-ci-injection.
2025-12-17 09:46:28 +01:00
bot-githubaction
109851ed81 Bump references to Develocity Gradle plugin from 4.2.2 to 4.3 2025-12-11 02:41:32 +00:00
bot-githubaction
59d162a0e3 Update known wrapper checksums 2025-11-01 05:32:18 +00:00
bot-githubaction
d0dcf35cfc Update known wrapper checksums 2025-10-25 05:31:39 +00:00
Eric Haag
8efb6df0e6 Update known wrapper checksums (#762)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.
2025-10-20 12:10:21 -05:00
bot-githubaction
227e38c560 Update known wrapper checksums 2025-10-18 05:31:34 +00:00
bot-githubaction
8597be932e Bump references to Develocity Gradle plugin from 4.2.1 to 4.2.2 2025-10-14 02:33:12 +00:00
bot-githubaction
06b33311c7 Update known wrapper checksums 2025-10-04 05:31:07 +00:00
bot-githubaction
20f2038387 Bump references to Develocity Gradle plugin from 4.2 to 4.2.1 2025-10-03 02:30:48 +00:00
bot-githubaction
6d7d019840 Update known wrapper checksums 2025-09-20 05:31:19 +00:00
Jérôme Prinet
365bbda7c3 Merge branch 'main' into jprinet/test-wrapper-validation 2025-09-18 11:38:40 +02:00
Jerome Prinet
e3a87b5ce4 Handle gracefully parse errors of checksum cache file 2025-09-18 11:33:13 +02:00
bot-githubaction
9d20965223 Bump references to Develocity Gradle plugin from 4.1.1 to 4.2 2025-09-17 02:31:01 +00:00
bot-githubaction
7f2ffb5b0d Update known wrapper checksums 2025-09-13 05:30:50 +00:00
bot-githubaction
70908db112 Update known wrapper checksums 2025-09-06 05:30:54 +00:00
Jérôme Prinet
caea7355b0 Update known wrapper checksums (#709)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.
2025-08-21 11:40:19 +02:00
bot-githubaction
28e981403f Bump references to Develocity Gradle plugin from 4.1 to 4.1.1 2025-08-20 02:35:24 +00:00
bot-githubaction
2edbacb0e8 Update known wrapper checksums 2025-08-16 05:32:53 +00:00
bot-githubaction
d115a7e6ee Update known wrapper checksums 2025-08-02 05:36:09 +00:00
bot-githubaction
109bc4e45d Bump references to Develocity Gradle plugin from 4.0.2 to 4.1 2025-07-28 16:58:37 +02:00
bot-githubaction
64bd61bfc5 Update known wrapper checksums 2025-07-19 05:34:52 +00:00
bot-githubaction
48d0f9d3ce Update known wrapper checksums 2025-07-12 05:34:01 +00:00
Daz DeBoer
fd888822a4 Fix setting env vars for plugin repository (#669)
- Removed double underscore from DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_* env vars
- Set GRADLE_PLUGIN_REPOSITORY_* env vars
2025-06-11 15:28:50 -06:00
bot-githubaction
f7d1903e6c Update known wrapper checksums 2025-06-11 15:22:16 -06:00
bot-githubaction
5c3326b6e6 Bump references to Develocity Gradle plugin from 4.0.1 to 4.0.2 2025-05-28 02:36:07 +00:00
Daz DeBoer
8379f6a132 Use v1.4.0 of dependency graph plugin (#638) 2025-05-16 11:01:06 -06:00
Daz DeBoer
2ad385cb2a Replace use of typed-rest-client with @actions/http-client (#634)
Fixes #630
2025-05-05 13:44:42 -06:00
Daz DeBoer
39dddb8ae7 Remove direct use of octokit/request-error (#632) 2025-05-05 08:57:57 -06:00
bot-githubaction
ae166a936b Update known wrapper checksums 2025-05-02 16:43:21 +02:00
bot-githubaction
e12df82938 Bump references to Develocity Gradle plugin from 4.0 to 4.0.1 2025-04-27 13:03:24 -06:00
bot-githubaction
bf36538596 Update known wrapper checksums 2025-04-27 13:01:33 -06:00
github-actions[bot]
f0d60a49af Update known wrapper checksums (#606)
Automatically generated pull request to update the known wrapper
checksums.

In case of conflicts, manually run the workflow from the [Actions
tab](https://github.com/gradle/actions/actions/workflows/update-checksums-file.yml),
the changes will then be force-pushed onto this pull request branch.
Do not manually update the pull request branch; those changes might get
overwritten.

> [!IMPORTANT]  
> GitHub workflows have not been executed for this pull request yet.
Before merging, close and then directly reopen this pull request to
trigger the workflows.

Co-authored-by: bot-githubaction <bot-githubaction@gradle.com>
2025-04-16 10:21:23 -06:00
daz
078dac7a70 Lint: Prefix unused variables/parameters 2025-04-09 16:55:51 -06:00
Bot Githubaction
e63ba6843c Bump references to Develocity Gradle plugin from 3.19.2 to 4.0 (#596)
This PR bumps references to Develocity Gradle plugin from 3.19.2 to 4.0.

---------

Co-authored-by: daz <daz@gradle.com>
2025-04-09 09:19:54 -06:00
Bot Githubaction
572d36861a Update develocity-injection init script to v2.0 (#593)
Updates the develocity-injection init script to the latest reference
script content
from https://github.com/gradle/develocity-ci-injection.

---------

Co-authored-by: daz <daz@gradle.com>
2025-04-04 13:39:30 -06:00