Adding dependency for Jackson-Kotlin:
// Object Mapping compile "com.fasterxml.jackson.module:jackson-module-kotlin"
For PostGIS:
compile "com.github.mayconbordin:postgis-geojson:1.0"
The artifact of this library is on JitPack. Hence we need to add an additional Maven repository in our build.gradle file:
repositories { .... // To fetch object mapper for PostGIS maven { url 'https://jitpack.io' } }