-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Handle Gradle dependencies in modules #1862
Comments
@atomfrede : do you still intend to work on this feature? otherwise I would be happy to give it a try :-) |
Feel to go on. I did not much so far. I think I would have tried rewrite to handle e.g. the dependency part. |
@murdos : if possible, try to split into small PRs or small tickets, as it will be easier to review and to add small bounties on each ;) |
It's hidden until gradle is fully supported, by handling dependencies and plugins. Updates #1862
My current roadmap is: For resolving this issue:
In other issues:
|
@murdos Did you do already something with regards to dependency handling? If not I will try to have a look at the open rewrite approach. They have recipes for all things we need, so maybe we can use that. |
I have work-in-progress using needles. |
I will try. From the documentation it look quite easy to call different recipes from java code. Will keep you updated when I have something to show and discuss. |
First thing I notice rewrite recipes only work for groovy based |
I have a small sample using openrewrite. The idea would be to have a temp. The sample can be found here https://github.com/atomfrede/open-rewrite-for-jhipster-lite-sample Its a standard maven project which adds dependencies to an "external" gradle project. |
Bounty claimed: https://opencollective.com/generator-jhipster/expenses/159351 |
@murdos : approved, thanks for your work |
Following #1787 we can add gradle dependencies handling.
TODO:
FileSystemCurrentJavaDependenciesVersionsRepository
to have a strategy to handle either maven or gradleJavaDependenciesCommandHandler
interface based onMavenCommandHandler
GradleCommandHandler
(which is aJavaDependenciesCommandHandler
)FileSystemJavaDependenciesCommandsHandler
to create the most suited handler (depending on project version management)The text was updated successfully, but these errors were encountered: