Support building a jar file as well.