Gradle dependency

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' }     }

Get Kotlin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.