EXP earned (the original number before division) is calculated solely based on opponents' species and level, and then multiplied by 1.5 if the opponent is owned by a Trainer. For proof that moveset doesn't affect it, find a place where you can encounter wild Ditto. Assuming you face Ditto of the same level, the EXP will be the same whether or not you give it a chance to Transform.