sdk-platform-java has libraries that do not compile on java 8 but are compiled to java 8 compatible byte-code. In that repository, we compile on java 11 and test with the java 8 runtime. We should do the same for the monorepo.
Additionally, we compile the binaries on java 17 (with java 8 compatible byte code) for releases.