Update layout
This commit is contained in:
parent
5e1780061c
commit
77e8e1d6f2
|
@ -1,6 +1,6 @@
|
|||
== Getting started
|
||||
|
||||
=== Maven Central Repository
|
||||
=== Maven Repository
|
||||
|
||||
The low-level Java REST client is hosted on
|
||||
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.elasticsearch.client%22[Maven
|
||||
|
@ -12,7 +12,7 @@ released with `5.0.0-alpha4`. There is no relation between the client version
|
|||
and the elasticsearch version that the client can communicate with. The
|
||||
low-level REST client is compatible with all elasticsearch versions.
|
||||
|
||||
=== Maven coordinates
|
||||
==== Maven configuration
|
||||
|
||||
Here is how you can configure the dependency using maven as a dependency manager.
|
||||
Add the following to your `pom.xml` file:
|
||||
|
@ -26,7 +26,7 @@ Add the following to your `pom.xml` file:
|
|||
</dependency>
|
||||
--------------------------------------------------
|
||||
|
||||
=== Gradle coordinates
|
||||
==== Gradle configuration
|
||||
|
||||
Here is how you can configure the dependency using gradle as a dependency manager.
|
||||
Add the following to your `build.gradle` file:
|
||||
|
@ -34,7 +34,7 @@ Add the following to your `build.gradle` file:
|
|||
["source","groovy",subs="attributes"]
|
||||
--------------------------------------------------
|
||||
dependencies {
|
||||
compile group: 'org.elasticsearch.client', name: 'rest', version: '{version}'
|
||||
compile 'org.elasticsearch.client:rest:{version}'
|
||||
}
|
||||
--------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue