couchbase Adding the SDK to a project


Example

Add the following dependency to your pom.xml file:

<dependency>
  <groupId>com.couchbase.client</groupId>
  <artifactId>java-client</artifactId>
  <version>2.3.1</version>
</dependency>

You can check the maven repository for the latest version.

If you want to use the Spring OEM use this Gradle dependency:

compile(group: 'org.springframework.data', name: 'spring-data-couchbase', version: '2.1.6.RELEASE')

Replace the version with your desired release. Note that this is NOT the version of Couchbase but the version of the Spring connector.