---
platforms:
  ubuntu1604:
    build_flags:
      - --define=ij_product=android-studio-beta
    build_targets:
      - //aswb/...
    test_flags:
      - --define=ij_product=android-studio-beta
      - --test_output=errors
    test_targets:
      - //:aswb_tests

---
platforms:
  ubuntu1804:
    build_flags:
      - --define=ij_product=android-studio-beta
    build_targets:
      - //aswb/...
    test_flags:
      - --define=ij_product=android-studio-beta
      - --test_output=errors
    test_targets:
      - //:aswb_tests

Test on ubuntu1804 to run with Java 11
Test on ubuntu1804 to run with Java 11

The code base is ready for Java 11 and we'll be dropping compatibility with Java 8 soon. Prepare for this moment by switching our tests to run on Java 11. To do this, we need to use an environment which features Java 11 as default JDK. ubuntu1804 is one of those (see #722).