cortinico / ktfmt-gradle

A Gradle plugin to apply ktfmt to your builds, and reformat you Kotlin source code like a glimpse ๐Ÿงน๐Ÿ˜
MIT License
149 stars 20 forks source link

Update ktfmt to 0.51 and resolve breaking changes #303

Closed simonhauck closed 2 months ago

simonhauck commented 2 months ago

๐Ÿš€ Description

This PR updates the ktfmt dependency and resolves the breaking changes of ktfmt.

The first commit updates the dependency and removes the FormattingOptions.Style since it is no longer supported by ktfmt.

The second commit removes the dropboxStyle() option since it is no longer available in ktfmt. Applications should use the kotlinLangStyle() instead. If you do not want to remove this option, you can revert the commit.

๐Ÿ“„ Motivation and Context

Resolves #302 Solves this failing PR #299

๐Ÿงช How Has This Been Tested?

With the automatic CI

๐Ÿ“ฆ Types of changes

โœ… Checklist

ukarlsson commented 2 months ago

Any chance this version could be released? Many thanks