Groovy dependency version

Hi, In the packaged Camunda platform Groovy 2.4.13 is provided as a lib. Is there a reason that v2 is still being used seeing as v3 is the latest stable version of Groovy?

If we are running an embedded process engine in a project can we import v3 or should we stick to the same version provided with the platform?

Thanks,
Andrew