So I guess another question would be does the YJ 2.5 block mounts interchange with either of the AMC/GM 4 cyls used in the CJ. (like the 4.2 and 4.0 does) I think the GM 4cyl went into a 7 in 1980, so your 79 would need later CJ 4 cyl mounts IF it did swap.
I would only do this swap if the CJ was a 4cyl and I wanted to keep it and gain the later YJ 4 cyl for its fuel injection.
I guess you know about the t-case offset and the axles not going to fit...
1975 CJ-6 304 T15 Dana20 30/44 3.73
1983 CJ-8 258 T5 300 30/44 3.31 Looking for full or half hardtop buy or trade
1986 CJ-7 Laredo 4.6 stroker T5 300 30/44 3.31
1986 TJ-7 Trail Jeep project in the works
2003 Inca Gold TJ Rubicon