Skip to content

Commit

Permalink
Update dependency com.facebook:ktfmt to v0.52 (#926)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com.facebook:ktfmt](https://togithub.com/facebookincubator/ktfmt) |
dependencies | minor | `0.51` -> `0.52` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>facebookincubator/ktfmt (com.facebook:ktfmt)</summary>

###
[`v0.52`](https://togithub.com/facebookincubator/ktfmt/blob/HEAD/CHANGELOG.md#052)

##### Fixed

- IntelliJ plugin crash
([https://github.com/facebook/ktfmt/pull/501](https://togithub.com/facebook/ktfmt/pull/501))
- Ordering of `@property` and `@param` in KDoc
([https://github.com/facebook/ktfmt/pull/498](https://togithub.com/facebook/ktfmt/pull/498))
- Annotation in return expressions
([https://github.com/facebook/ktfmt/issues/497](https://togithub.com/facebook/ktfmt/issues/497))

##### Changed

- KotlinLang style also managing trailing commas
([https://github.com/facebook/ktfmt/issues/216](https://togithub.com/facebook/ktfmt/issues/216),
[https://github.com/facebook/ktfmt/issues/442](https://togithub.com/facebook/ktfmt/issues/442))
- Converted IntelliJ plugin to Kotlin
([https://github.com/facebook/ktfmt/pull/502](https://togithub.com/facebook/ktfmt/pull/502))

##### Added

- More stability tests
([https://github.com/facebook/ktfmt/pull/488](https://togithub.com/facebook/ktfmt/pull/488))
- Custom profile in plugin settings, mirroring Gradle/Maven plugins
([https://github.com/facebook/ktfmt/pull/503](https://togithub.com/facebook/ktfmt/pull/503))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC40NS4wIiwidXBkYXRlZEluVmVyIjoiMzguNTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: Zac Sweers <pandanomic@gmail.com>
  • Loading branch information
slack-oss-bot and ZacSweers authored Aug 28, 2024
1 parent ca459c0 commit 580dcf7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions config/bin/gjf
Git LFS file not shown
4 changes: 2 additions & 2 deletions config/bin/ktfmt
Git LFS file not shown
4 changes: 2 additions & 2 deletions config/bin/sort-dependencies
Git LFS file not shown
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kaml = "0.61.0"
kotlin = "2.0.20"
ksp = "2.0.20-1.0.24"
kotlinPoet = "1.18.1"
ktfmt = "0.51"
ktfmt = "0.52"
markdown = "0.25.0"
mavenPublish = "0.29.0"
moshi = "1.15.1"
Expand All @@ -29,7 +29,7 @@ okio = "3.9.0"
retrofit = "2.11.0"
slack-lint = "0.7.4"
sortDependencies = "0.7"
spotless = "6.25.0"
spotless = "7.0.0.BETA2"
sqldelight = "2.0.2"
versionsPlugin = "0.47.0"
wire = "5.0.0"
Expand Down
3 changes: 2 additions & 1 deletion slack-plugin/src/main/kotlin/slack/gradle/SlackTools.kt
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ public abstract class SlackTools : BuildService<Parameters>, AutoCloseable {

/** Retrieves a loaded instance of [T], if any. */
public fun <T : SlackToolsExtension> findExtension(type: Class<out T>): T? {
@Suppress("UNCHECKED_CAST") return extensions[type] as T?
@Suppress("UNCHECKED_CAST")
return extensions[type] as T?
}

internal fun logAvoidedTask(taskType: String, taskName: String) {
Expand Down

0 comments on commit 580dcf7

Please sign in to comment.