android13/external/ktfmt/online_formatter
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
gradle/wrapper initial 2024-06-22 20:45:49 +08:00
src initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
build.gradle.kts initial 2024-06-22 20:45:49 +08:00
build_and_deploy.sh initial 2024-06-22 20:45:49 +08:00
format.yaml initial 2024-06-22 20:45:49 +08:00
gradle.properties initial 2024-06-22 20:45:49 +08:00
gradlew initial 2024-06-22 20:45:49 +08:00
gradlew.bat initial 2024-06-22 20:45:49 +08:00
settings.gradle.kts initial 2024-06-22 20:45:49 +08:00

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.