DATACOUCH-341 - Add kotlin extension functions

Motivation
----------
Add kotin extension methods to couchbase and reactive couchbase
operations as required.

Changes
-------
Extensions leveraging reified type has been added.

Results
-------
It is now possible to use reified types rather than passing the java
class reference to some operation functions.

Original pull request: #160.
This commit is contained in:
Subhashni Balakrishnan
2018-03-01 14:10:08 -08:00
parent a46f8160a9
commit 53e3285098
5 changed files with 216 additions and 0 deletions

14
pom.xml
View File

@@ -165,6 +165,20 @@
<scope>test</scope>
</dependency>
<!-- Kotlin extension -->
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<version>${kotlin}</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>