Add a fix to make Version Catalog symbols visible within the buildSrc plugins, and then move tool versions (Google Java Format and ktfmt) into the catalog.
fix: make version catalog accessible from buildSrc plugins
chore: declare googleFormatVersion in version catalog
chore: declare ktfmt in version catalog
🔄 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/211
**Author:** [@sgammon](https://github.com/sgammon)
**Created:** 2/20/2024
**Status:** ✅ Merged
**Merged:** 2/21/2024
**Merged by:** [@holzensp](https://github.com/holzensp)
**Base:** `main` ← **Head:** `chore/tools-in-catalog`
---
### 📝 Commits (1)
- [`8508af3`](https://github.com/apple/pkl/commit/8508af3e4b59ef33755846032c02d7985f99dc2f) Move tool versions to Version Catalog
### 📊 Changes
**4 files changed** (+18 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `buildSrc/build.gradle.kts` (+4 -0)
📝 `buildSrc/src/main/kotlin/pklJavaLibrary.gradle.kts` (+6 -1)
📝 `buildSrc/src/main/kotlin/pklKotlinLibrary.gradle.kts` (+6 -1)
📝 `gradle/libs.versions.toml` (+2 -0)
</details>
### 📄 Description
## Summary
Add a fix to make Version Catalog symbols visible within the `buildSrc` plugins, and then move tool versions (Google Java Format and ktfmt) into the catalog.
Originally previewed as part of apple/pkl#204.
## Changelog
- fix: make version catalog accessible from `buildSrc` plugins
- chore: declare `googleFormatVersion` in version catalog
- chore: declare `ktfmt` in version catalog
---
<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/211
Author: @sgammon
Created: 2/20/2024
Status: ✅ Merged
Merged: 2/21/2024
Merged by: @holzensp
Base:
main← Head:chore/tools-in-catalog📝 Commits (1)
8508af3Move tool versions to Version Catalog📊 Changes
4 files changed (+18 additions, -2 deletions)
View changed files
📝
buildSrc/build.gradle.kts(+4 -0)📝
buildSrc/src/main/kotlin/pklJavaLibrary.gradle.kts(+6 -1)📝
buildSrc/src/main/kotlin/pklKotlinLibrary.gradle.kts(+6 -1)📝
gradle/libs.versions.toml(+2 -0)📄 Description
Summary
Add a fix to make Version Catalog symbols visible within the
buildSrcplugins, and then move tool versions (Google Java Format and ktfmt) into the catalog.Originally previewed as part of apple/pkl#204.
Changelog
buildSrcpluginsgoogleFormatVersionin version catalogktfmtin version catalog🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.