• Build: Explicitly set target and source compatibility for javac

    Gradle has a "shortcut" which omits the target and source compatibility
    we set when it thinks it is not necessary (eg gradle is running on the
    same version as the target compat). However, the way we compile against
    java 9 is to set javac to use java 9, while gradle still runs on java 8.
    This change makes -source and -target explicit for now, until these
    "optimizations" can be removed from gradle.
    
    closes elastic#18039
    rjernst committed Apr 28, 2016