Build a jar with dependencies