Merge pull request elastic#18047 from rjernst/javac_target
be239b8
Build: Explicitly set target and source compatibility for javac