AMC engine swap?

I put a 340 in place of a 304 in a 78 cj.
Change the trans to a mopar one, and fab up some motor mounts and you are good.