devsoap / ds-gradle-vaadin

Gradle plugin for building Vaadin Flow 10/11/12/13/14/15 apps
https://devsoap.com/gradle-vaadin-flow-plugin
Other
36 stars 13 forks source link

Vaadin version check for @Id annotation support is wrong #337

Open devro opened 3 years ago

devro commented 3 years ago

Desktop (please complete the following information):

Describe the bug When building under compatibilityMode=false and Vaadin version is 14.4.1, plugin incorrectly states that @Id annotations are not supported and to "Please upgrade your Vaadin version to >= 14.1.2"

It's apparent that the VaadinFlowPluginExtension.groovy isIdSupported() function is comparing the current version number against 14.1.2 incorrectly.

Workaround can be achieved (for now) by upgrading Vaadin to v14.4.2