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