Ned Twigg

Results 639 comments of Ned Twigg

Closely related, it also does not check for these in the `settings.gradle` file: ```gradle pluginManagement { plugins { ... ```

Hi @mikehearn ! Want a collaborator? Got anything partially complete we can start from?

Just an FYI that the PR above (which has VS Code and IntelliJ plugins) is blocked on this feature.

With the Gradle plugin, you can apply different formatters on different blocks ([formatter inception](https://github.com/diffplug/spotless/blob/0fd20bb80c6c426d20e0a3157c3c2b89317032da/plugin-gradle/README.md#inception-languages-within-languages-within)). But this only works if you have a regex that demarcates the nested HTML from the...

There is not, but it might be possible. In the Gradle plugin, `FormatExtension` is the receiver for adding generic steps. It has this method for defining a block, and then...

Feel free to comment further if you need more help.

Hm, I thought Gradle had some classloader magic to isolate the plugins a bit, but such magic is always very fragile, so I don't doubt you! The gradle plugin consists...

As a workaround, you can try futzing with something like this: ```gradle buildscript { configurations.classpath { resolutionStrategy { force 'org.eclipse.jgit:org.eclipse.jgit:5.7.0.202003110725-r' } } } ```

The permanent fix is to shade everything except `lib` into `plugin-gradle`. It's very low on my todo list, but happy to merge and release a PR for it.

[editor's note: deleted a few off-topic comments to keep this issue focused on jgit shading and its workaround]