Commit Graph

221 Commits

Author SHA1 Message Date
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
Bot Githubaction
df11ab8fb2 Update develocity-injection init script to v1.3 (#592)
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 11:20:19 -06:00
github-actions[bot]
f9497366c3 Update known wrapper checksums (#590) 2025-04-03 07:44:54 -06:00
daz
bc00207b7b Tweak warning message 2025-04-02 12:38:50 -06:00
Bot Githubaction
38d700d537 Update known wrapper checksums 2025-03-25 13:52:42 -06:00
Eric Haag
ceec906aa9 Reorder function arguments alphabetically 2025-03-13 08:44:52 -05:00
Remco Mokveld
9f1c708302 Specify requestOptions in constructor of HttpClient 2025-03-13 10:46:35 +01:00
Eric Haag
34dcae18f8 Add develocityAllowUntrustedServer as ShortLivedTokenClient constructor argument 2025-03-12 14:13:49 -05:00
Remco Mokveld
2ee6cdf283 Fix formatting and syntax 2025-03-12 14:13:39 +01:00
Remco Mokveld
cfdc6db0ae Ignore SSL when environment is specified 2025-03-12 14:04:19 +01:00
Eric Haag
7e34bc6983 Scope captured build failures
Scopes the captured build failures to only RUN_WORK and
CONFIGURE_PROJECT.
2025-03-04 08:23:26 -06:00
Daz DeBoer
0eda626a36 Catch more build failures in job summary (#571)
By inspecting a greater range of build operations for failure, the Job
summary will correctly reflect the build outcome in more circumstances.

Note that we now use the old 'buildFinished' mechanism for all Gradle
versions < `7.0`, instead of using the BuildService mechanism for all
Gradle versions from `6.6`. This avoids needing to deal with
inconsistent build operations present in Gradle versions `[6.6, 7.0)`.

Fixes #415
2025-02-27 22:46:42 -07:00
bot-githubaction
bd8a9b1582 Bump references to Develocity Gradle plugin from 3.19.1 to 3.19.2 2025-02-19 02:27:57 +00:00
Bot Githubaction
7190318fe2 Update known wrapper checksums 2025-02-18 21:13:42 +00:00
Bot Githubaction
aa23778d2d Update develocity-injection init script to v1.2
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection.
2025-02-05 14:43:47 -07:00
Bot Githubaction
c94eb9d32c Update develocity-injection init script to v1.1.1
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection.
2025-01-30 12:58:55 -07:00
daz
0b492c475f Fix deprecation warnings in develocity init-script
This change has been made directly to the init-script, and will be superceded
by the equivalent fix in the reference script.
2025-01-30 08:51:44 -07:00
daz
79bad900c0 Fix deprecation warnings in dependency-graph init-script 2025-01-30 08:46:34 -07:00
bigdaz
b693646f93 Update known wrapper checksums 2025-01-24 11:09:05 -07:00
Daz DeBoer
91619fae90 Attempt to use gradle wrapper for cache cleanup (#525)
The cache-cleanup operation works by executing Gradle on a dummy project
and a custom init-script. The version of Gradle used should be at least
as high as the newest version used to run a build.

Previously, if the Gradle version on PATH didn't meet this requirement,
the action would download and install the required Gradle version.

With this PR, the action will now use an existing Gradle wrapper
distribution if it meets the requirement. This avoids unnecessary
downloads of Gradle versions that are already present on the runner.

The logic is:
- Determine the newest version of Gradle that was executed during the
Job. This is the 'minimum version' for cache cleanup.
- Inspect the Gradle version on PATH and any detected wrapper scripts to
see if they meet the 'minimum version'.
- The first executable that is found to meet the requirements will be
used for cache-cleanup.
- If no executable is found that meets the requirements, attempt to
provision Gradle with the 'minimum version'.

Fixes #515
2025-01-24 10:06:51 -07:00