1980 is the last year the AMC 304 was an option in a CJ so you most likely have a stock set up. This isn't terminal so there is no time like the present to get started on the repair before the weather turns nice and you want to wheel with the top down in the sun. Buy a shop manual, they have most of the OEMs available in reprint but Chilton's will do. The OEMs reprints cost about $80 but it will be worth it.
When you do this job safety comes first. You need to make sure you have the motor properly supported so it doesn't end up on your head then disconnect the drive lines (be sure to mark the yokes of the axels, xcase, and drivelines so you put them back exactly as you took them out as they are a balanced system), disconnect the transmission mount & torque stud from the skid plate, drop the plate (motor must be supported before the skid plate is dropped) and pull the transmission/xcase from the bell housing (a transmission jack is helpful, they are heavy). Then you can pull the bell housing to see for sure what you need.
You could get out of this pickle for next to nothing but a worst it shouldn't be too much. It is a good time to change the clutch if it has any wear at all.
Welcome to Jeep'n!