Jonathan Bluett-Duncan
Jonathan Bluett-Duncan
@sbilello Spotless doesn't support the IntelliJ formatter yet. The way to get Google-style Java formatting is to use this instruction: ```gradle spotless { java { googleJavaFormat().reflowLongStrings() } } ``` It...
I've since learned from a conversation over at [openrewrite](https://github.com/openrewrite/rewrite/discussions/834) that jbang can be used as a middleman to download things from Maven Central, and in turn build a CLI app...
I agree with @nedtwigg's comment on ktfmt! But just to note that it requires Java 11, so it doesn't yet work with Android projects. I understand though that the next...
It's known that the formatting of google-java-format differs to IntelliJ's (and thus Android Studio's). It's in fact a consequence of the google-java-format team's goal to make a formatter that was...
Never mind, I was too quick re. the "won't fix" comment! Apologies!
I think people have managed to "hack" the internals of google-java-format in the past to allow the line wrapping length to be adjusted. See [talios/googleformatter-maven-plugin](https://github.com/talios/googleformatter-maven-plugin) for a Maven plugin example...
Ah, that's something with `indentWithSpaces()` that people get confused about a lot. (I was confused about it in the [past](https://github.com/diffplug/spotless/issues/58) too!) `indentWithSpaces()` doesn't translate stuff that already has spaces from...
@wheelerlaw If you're still willing and able to create a PR for this issue, then please feel free to go ahead. :)
I'm experiencing this too. Here's the error I get: ``` A problem occurred configuring root project 'okbuck-not-found-repro'. > Could not resolve all artifacts for configuration ':classpath'. > Could not find...
I'm unable to downgrade to OkBuck 0.52.3 because the original project I discovered this error in, a private Android project, uses Gradle 7.2, which isn't supported by OkBuck. The error...