Set source/target javac version for Java files in test.