Jmix plugin 1.4.2 has different version number in build.gradle when update project vs. new project

Hi,

I see a different result in the plugin version number in build.gradle when I update a existing project (jmix 1.4.1 to 1.4.2), then the jmix plugin number is still 1.4.1:

plugins {
    id 'io.jmix' version '1.4.1'
    id 'java'
}

apply plugin: 'org.springframework.boot'

jmix {
    bomVersion = '1.4.2'
}

But when I create a new project the plugin version number is now 1.4.2 (identic with the bomVersion):

plugins {
    id 'io.jmix' version '1.4.2'
    id 'java'
}

apply plugin: 'org.springframework.boot'

jmix {
    bomVersion = '1.4.2'
}

Is the different version number for the plugin(s) correct?
Please can you explain what is the difference when the plugin has the ‘old’ version.

Jmix plugin 1.4.2
IntelliJ Ultimate 2022.3
Windows 10

Thanks in advance
Stefan

2 Likes

Hi Stefan,
Thanks for the report.

In general, versions can be different in the patch number, but in 1.4.2 they should be the same. Studio must get the plugin version from the template but it doesn’t for some reason.

Created issue.

1 Like

Hi Kinstantin,

one additional comment, may be helpful, but I’m not sure if this has an influence.
I have defined in Jmix settings an ‘additional templates artifact’.

I think this template shouldn’t be considered during update from jmix 1.4.1 → 1.4.2.
This template was created for Jmix 1.4.0 and reference the plugin 1.4.1.

BR
Stefan