Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Allow the usage of Gradle build files for the Source + Dependencies Analysis mode #104

Closed
rromannissen opened this issue Mar 10, 2023 · 6 comments
Assignees
Labels
Milestone

Comments

@rromannissen
Copy link
Contributor

The source+dependencies analysis mode doesn't recognize Gradle build files, so it's not able to retrieve the required dependencies. Even though the usage of Gradle is not as widespread as Maven's, it would be good to cover this use case as well. A way to approach it could be to transform the Gradle build file into a POM, and use the logic we already have from there. The Maven Publish Plugin from Gradle seems to be able to do this as explained here.

@rromannissen
Copy link
Contributor Author

@pranavgaikwad @jmle is this something that the new analyzer allows? I imagine the Java Language Server is compatible with Gradle build files, is there a way to test this?

@jmle
Copy link
Contributor

jmle commented Nov 3, 2023

@rromannissen according to the feature list the JDT LS supports Gradle projects, but we would need to implement support for dependency search and so on in case the project uses gradle.

@rromannissen
Copy link
Contributor Author

@pranavgaikwad something to consider for 0.4.0 then!

@rromannissen rromannissen added this to the 0.4.0 milestone Nov 30, 2023
@rromannissen
Copy link
Contributor Author

@dymurray this needs to be prioritized for 0.4.0.

@mail2nadeem92
Copy link

Hello @rromannissen,

Please add a size label (size/XS, size/S, size/M, size/L, size/XL) to assist in the Konveyor planning process.

@jmle
Copy link
Contributor

jmle commented Jun 6, 2024

This has actually been documented as an enhancement in https://github.com/konveyor/enhancements/tree/master/enhancements/gradle-support and implemented in konveyor/analyzer-lsp#609. I will close the RFE.

@jmle jmle closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants