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