unplugged-system/external/ktfmt/online_formatter
2025-10-06 13:59:42 +00:00
..
gradle/wrapper Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
src Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
build_and_deploy.sh Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
build.gradle.kts Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
format.yaml Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
gradle.properties Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
gradlew Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
gradlew.bat Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
settings.gradle.kts Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

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.