Key resonances in the 30P(p,γ)31S gateway reaction for the production of heavy elements in ONe novae.