It is now possible to rely on the build script for sourceCompatibility and targetCompatibility.