Commit ab014af
committed
build: use Gradle Java toolchain to provision JDK 17
The shared hypertrace gradle GitHub action launches Gradle with JDK 11
on the runner. Setting source/target compatibility to 17 caused
'invalid source release: 17' on subprojects in the build job.
Switching to a Java toolchain lets Gradle auto-provision and compile
with JDK 17 regardless of the launcher JDK the action uses.1 parent 43cd165 commit ab014af
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments