Only build group tests with Java.