jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
490 stars 114 forks source link

Exclude Hilla dependencies in project template #3459

Open glebfox opened 2 weeks ago

glebfox commented 2 weeks ago

The Hilla framework has been more closely integrated with the Vaadin platform. Vaadin BOM and Vaadin Spring Boot Starter now include the Hilla framework stating from version 24.4. This enables Vaadin users to choose between Flow and Hilla, or mix both frameworks when necessary.

Since we don't use Hilla views in Jmix apps, it's make sense to exclude Hilla dependencies in project template.

glebfox commented 1 week ago

./gradlew -Pvaadin.productionMode=true bootJar produces exception:

> Task :vaadinBuildFrontend FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':vaadinBuildFrontend'.
> com.vaadin.flow.server.ExecutionFailedException: Failed to configure Hilla engine: no runner succeeded. Set log level to debug to see more details.