In order to maintain compatibility and ensure that the library has no issues with major java versions, the library in the CI workflow will be compiled using JDK 17 and for publishing the library will be built using jdk 11 as java is backward compatible but users on older java versions may face some issues if they try to run a library compiled using a higher version than what they have locally if the library utilizes some features that are not compatible.
Description
In order to maintain compatibility and ensure that the library has no issues with major java versions, the library in the CI workflow will be compiled using JDK 17 and for publishing the library will be built using jdk 11 as java is backward compatible but users on older java versions may face some issues if they try to run a library compiled using a higher version than what they have locally if the library utilizes some features that are not compatible.