Toyota Corolla Verso - VVTi vs D4D - hcm

Getting a 3 to 4 year old Verso. The decision is to go for either a (lower mileage / newer) 1.8 petrol or the 2.2 diesel.

Leaving aside the difference of driving them (driven both - both are fine for me) which is the most reliable / trouble free engine?

Thanks.