You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ktfmt 0.31 was just released which includes a couple breaking changes for Spotless. Specifically
Library usage was updated to make the format method no longer be a top-level method. It is now inside the Formatter object.
The binaries for 0.31 appear to have been published to Maven Central's new S01 infrastructure, which means the dependency needs to be resolved from https://repo1.maven.org/maven2 as opposed to https://repo.maven.org/maven2.
I'm not super familiar with reflection so it might take me a day or two before I can propose a PR for at least the first part of this. Let me know if you'd prefer to do it yourself faster.
The text was updated successfully, but these errors were encountered:
PR is very welcome, I've got no plans to integrate these changes. If you'd like, you can avoid reflection entirely by following an example from #524. Could do if (version < 31) { existingCode() } else { newCode() }
ktfmt 0.31 was just released which includes a couple breaking changes for Spotless. Specifically
format
method no longer be a top-level method. It is now inside theFormatter
object.https://repo1.maven.org/maven2
as opposed tohttps://repo.maven.org/maven2
.I'm not super familiar with reflection so it might take me a day or two before I can propose a PR for at least the first part of this. Let me know if you'd prefer to do it yourself faster.
The text was updated successfully, but these errors were encountered: