@dakrone If it's not shaded, and a Groovy client uses any of the popular Elasticsearch Groovy clients (only use Groovy with Gradle myself, so I am not aware of the popular ones), then will it cause a conflict/collision?

I'd expect not unless the Groovy scripts were interpreted on the client, which would be odd. Assuming it's not needed in some way by the client, then shading seems unnecessary.