Building the lambda function

To build the lambda function use the following command:

./gradlew clean build

This will yield build/distributions/lets-poll-alexa-skill.zip as the deployment package.

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.