Shading high level Java rest client

Hi,

Can I shade high level rest client? bascially I want to use latest Elastic Search Rest client (7.4) and Lucene 5.3.0 (Legacy) in my project.

Thanks,
Abhishek