It will be useful to add a method Bukkit.getMinecraftVersion() to Bukkit API. The goal of this simple API is to get game server version number (SemVer compliant) while being fully agnostic of server software implementation.
Paper already has a similar method for many versions. It's useful for conditionning features to a former or a newer version than the one built with the plugin (included as a dependency).