Check project dependencies are all Java5 or earlier