The Treasury details how much money is being given to government departments to help prepare for Brexit in the coming year.