Update wrapper by running the following command: ./gradlew wrapper --gradle-version 8.11 --gradle-distribution-sha256-sum 57dafb5c2622c6cc08b993c85b7c06956a2f53536432a30ead46166dbca0f1e9
Replace usages of deprecated method Project.exec with ExecOperations.exec
Convert extension function Task.configureInstallGraalVm to task class InstallGraalVm
a task class is the cleanest way to get hold of ExecOperations
Move extension property BuildInfo.GraalVm.downloadFile into class GraalVm
Don't apply plugin pklGraalVm in project bench (unnecessary, now causes error)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/800
**Author:** [@odenix](https://github.com/odenix)
**Created:** 11/11/2024
**Status:** ✅ Merged
**Merged:** 11/22/2024
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `gradle-8.11`
---
### 📝 Commits (1)
- [`7c2b238`](https://github.com/apple/pkl/commit/7c2b238d57152ce695fd8976ceff39c7670b523c) Update Gradle to 8.11
### 📊 Changes
**5 files changed** (+98 additions, -65 deletions)
<details>
<summary>View changed files</summary>
📝 `bench/bench.gradle.kts` (+0 -1)
📝 `buildSrc/src/main/kotlin/BuildInfo.kt` (+5 -0)
➕ `buildSrc/src/main/kotlin/InstallGraalVm.kt` (+85 -0)
📝 `buildSrc/src/main/kotlin/pklGraalVm.gradle.kts` (+6 -62)
📝 `gradle/wrapper/gradle-wrapper.properties` (+2 -2)
</details>
### 📄 Description
Changes:
- Update wrapper by running the following command: ./gradlew wrapper --gradle-version 8.11 --gradle-distribution-sha256-sum 57dafb5c2622c6cc08b993c85b7c06956a2f53536432a30ead46166dbca0f1e9
- Verify wrapper JAR integrity according to: https://docs.gradle.org/current/userguide/gradle_wrapper.html# manually_verifying_the_gradle_wrapper_jar
- Replace usages of deprecated method `Project.exec` with `ExecOperations.exec`
- Convert extension function `Task.configureInstallGraalVm` to task class `InstallGraalVm`
- a task class is the cleanest way to get hold of `ExecOperations`
- Move extension property `BuildInfo.GraalVm.downloadFile` into class `GraalVm`
- Don't apply plugin `pklGraalVm` in project `bench` (unnecessary, now causes error)
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/800
Author: @odenix
Created: 11/11/2024
Status: ✅ Merged
Merged: 11/22/2024
Merged by: @bioball
Base:
main← Head:gradle-8.11📝 Commits (1)
7c2b238Update Gradle to 8.11📊 Changes
5 files changed (+98 additions, -65 deletions)
View changed files
📝
bench/bench.gradle.kts(+0 -1)📝
buildSrc/src/main/kotlin/BuildInfo.kt(+5 -0)➕
buildSrc/src/main/kotlin/InstallGraalVm.kt(+85 -0)📝
buildSrc/src/main/kotlin/pklGraalVm.gradle.kts(+6 -62)📝
gradle/wrapper/gradle-wrapper.properties(+2 -2)📄 Description
Changes:
Project.execwithExecOperations.execTask.configureInstallGraalVmto task classInstallGraalVmExecOperationsBuildInfo.GraalVm.downloadFileinto classGraalVmpklGraalVmin projectbench(unnecessary, now causes error)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.