gradle-build-action/src
daz d4e24dfc10
Register pre-installed JDKs in .m2/toolchains.xml
Since adding these to the `org.gradle.java.installations.fromEnv` property
is problematic (#1024), this mechanism allows the default toolchains to
be discovered by Gradle via a different mechanism.

The default JDK installations are added to `~/.m2/toolchains.xml` such that
they are discoverable by Gradle toolchain support.
The `setup-java` action also writes to this file, so we merge with any existing
content: this allows both pre-installed and "setup" JDKs to be automatically
detected by Gradle.
2024-01-03 21:08:40 -07:00
..
resources Register pre-installed JDKs in .m2/toolchains.xml 2024-01-03 21:08:40 -07:00
build-results.ts Extracted some classes and refactored for clarity 2022-06-22 16:35:55 -06:00
cache-base.ts Register pre-installed JDKs in .m2/toolchains.xml 2024-01-03 21:08:40 -07:00
cache-cleaner.ts Do not generate dependency graph in cache-cleanup 2023-09-29 22:55:54 +02:00
cache-extract-entries.ts Always initialize encryption key 2024-01-02 14:28:29 -07:00
cache-reporting.ts Refactor and simplify summary generation 2023-12-31 15:12:04 -07:00
cache-utils.ts Allow entries with same Job ID to match in different workflows 2024-01-03 18:38:36 -07:00
caches.ts Register pre-installed JDKs in .m2/toolchains.xml 2024-01-03 21:08:40 -07:00
daemon-controller.ts Only stop Gradle Daemons when saving Gradle User Home state 2022-06-22 16:41:03 -06:00
dependency-graph.ts Adapt dependency-graph support for new artifact API 2023-12-23 21:24:11 -07:00
execution.ts Don't use full path when executing gradlew 2023-07-13 16:15:54 -06:00
gradlew.ts Fix issue locating wrapper bat on windows 2023-07-15 23:04:38 -06:00
input-params.ts Allow job-summary only on failure 2024-01-01 17:50:40 -07:00
job-summary.ts Warn when permissions not set for PR comment 2024-01-01 17:50:40 -07:00
main.ts Refactor input parameters 2023-06-06 10:47:56 -06:00
post.ts Move writing of cache report into job-summary.ts 2022-06-02 22:39:09 -06:00
provision.ts Include provisioned Gradle version as action output 2023-08-19 20:37:12 +02:00
repository-layout.ts Refactor input parameters 2023-06-06 10:47:56 -06:00
setup-gradle.ts Register pre-installed JDKs in .m2/toolchains.xml 2024-01-03 21:08:40 -07:00