Ned Twigg

Results 639 comments of Ned Twigg

Roger, based on how you described it above, this works the same way as #623, except that there's a (probably-unnoticeable) performance penalty from the stash/index->disk/unstash roundtrip. Happy to merge `SpotlessApplyMulti.java`...

Very cool, thx for opening, looks like you're on the right track, lmk when you'd like more input / ready to merge.

Just FYI, if you'd like to remove the reflection code, you could use the approach in https://github.com/diffplug/spotless/pull/1012 if you'd like. Happy to merge either way.

Interesting, thanks for the great repro! This code was meant to insulate us from problems like that: https://github.com/diffplug/spotless/blob/b3a6e369245bb6b10ef2db89e54294a5cdb59f49/lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java#L107-L109 I wonder if your example works if we revert to before #1012,...

Failing on JDK11 but working on 8 and 17 is *fascinating*! Since there's an easy workaround I'm not going to put any effort into investigating further, but thanks for documenting...

If you'd like another approach, you could put [these files](https://github.com/mytakedotorg/mytakedotorg/tree/master/buildSrc/src/main/java/org/mytake/gradle/jsonitercodegen) into your buildSrc, and then [this](https://github.com/mytakedotorg/mytakedotorg/blob/54f57a3e6cb8c05894f7285dc6edf93665c7497b/client/build.gradle#L63-L64) into your build.gradle.

I'd love to donate the plugin! The hard part is integrating it into your build / release process, and putting it on the Gradle Plugin Portal, which is hard as...

Ha, and I know nothing about maven ;-) Looks like there's a [gradle-maven-plugin](gradle-maven-plugin) for calling gradle from maven. If you make a folder with that plugin inside that supports `publish`,...

You create an account here: https://login.gradle.org/user/register If you publish interactively (at the console), you login via the console each time you publish. Or you can get an API key and...

Just FYI, we added the ability in Spotless to set the copyright years [based on the git history](https://github.com/diffplug/spotless/tree/main/plugin-maven#retroactively-slurp-years-from-git-history). It's pretty slow, but you only have to do it once. From...