We give the hyperasymptotic expansion of the plaquette with a precision that includes the terminant associated to the leading renormalon. Subleading effects are also considered. The perturbative series is regulated using the principal value prescription for its Borel integral. We use this analysis to give a determination of the gluon condensate in SU(3) pure gluodynamics that is independent of the scale and renormalization scheme used for the coupling constant: <mml:mfenced close="<right angle bracket>" open="<">G2</mml:mfenced>PV<mml:mfenced close=")" open="(">nf=0</mml:mfenced>=3.15<mml:mfenced close=")" open="(">18</mml:mfenced>r0-4.