-
Notifications
You must be signed in to change notification settings - Fork 167
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
Vaadin 24.4.1 - GradlePlugin has Spring dependencies #19573
Comments
This is a severe bug and should be fixed in the upcoming patch release. |
Why only in the next patch release and not as a hotfix - we had a BFP and are therefore waiting for the 24.4.x version to use it. The Workaround is causing issues for ourself - cause the dependencies are not found correctly. |
The fix is under development, we'll make the release once it's resolved. |
@subITCSS Vaadin 24.4.0 version is broken in a way that it uses pre-release version of Hilla (24.4.0.rc2), that might be the reason of failures.
We don't have a published version of flow-gradle-plugin separately, so it's imposible at the moment unfortunately. |
Adding this into build.gradle will remove hilla from the plugin path:
Gradle buildEnvironment without the exclusion:
Gradle buildEnvironment without the exclusion, and no hilla in the output:
Hope this helps while we search for a solution. |
Yes, that was one of the first things I tried. It fixes the dependency issue but introduces other issue(s). At least
|
Interesting. I don't have a problem if I run |
I can only reproduce if the Java version available on PATH is 11 instead of 17.
|
So does version 24.4.3 fix this issue? |
Fixes vaadin/flow#19573 Co-authored-by: caalador <mikael.grankvist@vaadin.com>
No, the patch will be released with the hot-fix 24.4.4 version. |
Are there any time updates on this? - when this version will be released |
Version 24.4.4 (latest) was released yesterday 25 June 2024. |
@mshabarov @caalador |
Alright. So this does work then. |
@mshabarov We discoverd another problem with the new verson:
The Issue we discovered is that the vaadin-bundles requires the fixed version of 1.3.1 for it while all components require the ^1.3.0 and as there is an 1.4.0 the system updates the dependency to 1.4.0 which clashes with the upper fixed definition. So based on this the Versions should be both fix or flexible using the ^. |
@subITCSS thanks for discovering this 👍 Looks like a completely different issue, could you please create a new ticket in Vaadin Platform repo as I'm not sure where the bug is, in vaadin-bundles or components or somewhere else. |
The new issue is defined under vaadin/platform#6549 |
Description of the bug
We wanted to upgrade from the latest VaadinFlow 24.3.X to the 24.4.1. But we discovered a dependency issue for non Spring projects.
As you can see here the GradlePlugin references the HillaGradlePlugin - which needs Spring as reference. https://mvnrepository.com/artifact/com.vaadin/vaadin-gradle-plugin/24.4.1 .
This causes that our dependencies are not found and we cannot upgrade to this version cause we don´t have any Spring-References in our non spring project.
Expected behavior
There is no dependency of Hilla/Spring e.g. which causes any dependency issue for a non spring project.
Minimal reproducible example
https://mvnrepository.com/artifact/com.vaadin/vaadin-gradle-plugin/24.4.1
Versions
The text was updated successfully, but these errors were encountered: