Set order number only if assign.order.number is true

Example: gradle clean jar -Dassign.order.number=true