• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# AWS Lambda to format Kotlin code using ktfmt
2
3## Build
4
5```
6./gradlew build
7```
8
9## Deploy
10
11```
12./build_and_deploy.sh
13```
14
15The script creates two jars, one with the `com.facebook.ktfmt.onlineformatter` package, and the other with all of its dependencies (including ktfmt itself). This makes deploying just the Lambda faster.
16