Groovy ships various third party libraries. The servlet-api (v2.4) is an example for groovy (v 2.0.1):
groovy:000> javax.servlet.http.HttpServlet.protectionDomain.codeSource
===> (file:/usr/lib/groovy/2.0.1/lib/servlet-api-2.4.jar <no signer certificates>)
groovy:000>
Assuming I want a more recent version: What is the suggested approach to accomplish that?