Ned Twigg
Ned Twigg
> whether there is a way to only block wildcards or throw some error message With the Gradle plugin, you can add a custom step that throws an `Exception`. We...
Thanks so much for tackling this! > should... be implemented with reflection or should another small lib - I don't want Spotless to maintain another small lib - Reflection is...
Our SortPomStep hardcodes to version `3.0.0`. https://github.com/diffplug/spotless/blob/27d3ae15dd85fe1a11edfe2950c3cb0c9c0b10f4/lib/src/main/java/com/diffplug/spotless/pom/SortPomStep.java#L45 The underlying artifact ([changelog](https://github.com/Ekryd/sortpom#news)) has a breaking change in `3.1.0`, including dropping support for Java 8. If anyone wants to update this, there...
I don't think the JDK 11 thing is an issue unless there happens to be a JDK 11 class like `java.util.concurrent.Flow` in the public API, which I don't think is...
I don't think it is true that the compat layer must be compiled with JDK 11. None of our shims are currently compiled with JDK 11, and lots of our...
Sorry, I misspoke. You are correct, we do need to compile against JDK 11, and in fact that is what we have done in CI for a long time https://github.com/diffplug/spotless/blob/de9bb1f757bf2502551cd98dd8f371abf2d1a3fb/.circleci/config.yml#L11...
One ugly idea is to add an "if" into the build that removes the sortpom sourceset if the build is running on JDK 8. I'm not sure how much longer...
Looks like there's breaking changes in the newest flexmark ([changelog](https://github.com/vsch/flexmark-java/blob/master/VERSION.md)). Same deal as [here](https://github.com/diffplug/spotless/pull/1300#issuecomment-1246258499), happy to merge a simple PR that drops support for older versions or a complicated PR...
> continue delivering a Java 8 compatible Spotless in parallel to the Java 11 compatible version The old versions of Spotless won't go away, but they will not get new...
Happy to merge a PR for this. https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md We support multiple competing formatter for lots of filetypes, happy to do the same for SQL.