The build.gradle file

First, modify the contents of the build.gradle file as follows:

buildscript {    repositories {        jcenter()        mavenCentral()    }    dependencies {        classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'    }}apply plugin: 'java'apply plugin: 'idea'apply plugin: 'com.github.johnrengelman.shadow'repositories {    jcenter()    mavenCentral()}// In this section you declare the dependencies for your production and test codedependencies {    compile 'org.slf4j:slf4j-api:1.7.7'    compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '1.2.0'    compile group: 'com.amazonaws', name: 'aws-lambda-java-events', version: '2.1.0'    compile 'org.jooq:jooq:3.8.2'    compile 'org.jooq:jooq-meta:3.8.2'    runtime group: 'org.postgresql', name: 'postgresql' ...

Get Hands-On Serverless Applications with Kotlin 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.