A drug dealer who admitted to supplying crack cocaine in Oxford on the first day of his trial has been sentenced at Oxford Crown Court.