couchbase - Adding the java SDK to a project - couchbase tutorial - couchbase lite
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>
Clicking "Copy Code" button will copy the code into the clipboard - memory. Please paste(Ctrl+V) it in your destination. The code will get pasted. Happy coding from Wikitechy Couchbase tutorial team
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')
Clicking "Copy Code" button will copy the code into the clipboard - memory. Please paste(Ctrl+V) it in your destination. The code will get pasted. Happy coding from Wikitechy Couchbase tutorial team
Replace the version with your desired release. Note that this is NOT the version of Couchbase but the version of the Spring connector.