Is there a plugin that can lint JSON resources?

I’d like to add a subtask to check to ensure my project’s .json resources are prettified/indented properly. Is there a plugin that can help with that?

Yes, @eriwen has a JS plugin:

https://plugins.gradle.org/plugin/com.eriwen.gradle.js

It provides a JSHint linting task.

Of course, now I re-read what you posted and you said JSON, not JS. Nevermind. I don’t think Eric’s plugin helps there.

JSON is technically a subset of JS, so with enough configuration…