tree: 628531c093edec1287b15a766a09a6cbd9faea7f [path history] [tgz]
  1. gradle/
  2. src/
  3. build.gradle.kts
  4. build_and_deploy.sh
  5. format.yaml
  6. gradle.properties
  7. gradlew
  8. gradlew.bat
  9. README.md
  10. settings.gradle.kts
online_formatter/README.md

AWS Lambda to format Kotlin code using ktfmt

Build

./gradlew build

Deploy

./build_and_deploy.sh

The 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.