xref: /aosp_15_r20/external/ktfmt/online_formatter/README.md (revision 5be3f65c8cf0e6db0a7e312df5006e8e93cdf9ec)
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