Description
Is your feature request related to a problem? Please describe.
I need to add compatibility checks to the vscode-spotless-gradle
extension. The extension relies on minimum Gradle & Spotless Gradle versions, and I'd like to check this and show a message to the user if the versions don't match.
Describe the solution you'd like
It would be ideal if we could access Gradle build information via the public api. I'll need the Gradle version, and a list of dependencies & versions. Unfortunately it seems the current implementation does not list plugin dependencies, so a change would be required to surface plugin dependencies, for example:
Line 5 in 43936ab
Describe alternatives you've considered
I haven't thought of alternatives, I think providing this information from vscode-gradle
is the correct approach, but i'm open for alternative approaches.
Additional context
See badsyntax/vscode-spotless-gradle#281
I am open to attempting this myself with a PR, but it's been a while since I've worked on this project. Let me know if you'd like me to try.