After creating a service-service and a service-api, there is a difference between versions in com.liferay.portal.kernel the pre-built build.gradle.
When examining build.gradle, we can see that com.liferay.portal.kernel in service-api has a version of 2.0.0, and com.liferay.portal.kernel in service-service has a version of 2.6.0.
I understand that this is a minimum version requirement (e.g. (2.0.0,3.0.0] or (2.6.0,3.0.0]), and that the build.gradle is auto-generated as a suggestion and allows a developer to configure to the version of their liking, but isn't it better to set it at the same version?
I'm asking because there could be interface changes in a higher version compared to a lower version, and if one project type has the lower version, it might cause an unnecessary extra step to change the version and refresh the gradle project. Wouldn't it be better to make sure that all project types use the same version of the minimum version of the component in the auto-generated build.gradle?