Hands-On Serverless Applications with Kotlin
上QQ阅读APP看书,第一时间看更新

Packaging and deploying

To package a Kotlin Lambda function using Gradle on Unix-based systems, use the following command:

./gradlew clean shadow

This yields /build/libs/ greeter-1.0.0.jar, which can be uploaded as a deployment package in the console, like we did for the Java Lambda function.