<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
<version>7.17.7</version>
</dependency>
libraryDependencies += "org.elasticsearch.client" % "elasticsearch-rest-client" % "7.17.7"
@Grapes(
@Grab(group='org.elasticsearch.client', module='elasticsearch-rest-client', version='7.17.7')
)
<dependency org="org.elasticsearch.client" name="elasticsearch-rest-client" rev="7.17.7" />