Skip to content

List plugin deps & surface Gradle build information in public API #1156

Open
@badsyntax

Description

@badsyntax

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:

id 'com.diffplug.spotless' version '5.7.0'

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions