com.facebook.ktfmt.onlineformatter
Created on: April 4, 2026
Answered using GPT-5.2 Thinking by Chat01
Created on: April 4, 2026
Answered using GPT-5.2 Thinking by Chat01
com.facebook.ktfmt.onlineformatter
com.facebook.ktfmt.onlineformatter is the Java/Kotlin package name used by ktfmt’s “online formatter” backend—an AWS Lambda service that formats Kotlin code with ktfmt (it’s what powers the web playground). (Android Git Repositories)
online_formatter/ module that builds/deploys the Lambda; the deploy script builds two jars, one containing the com.facebook.ktfmt.onlineformatter package and another with dependencies. (Android Git Repositories)https://facebook.github.io/ktfmt/ (Android Git Repositories)If you tell me where you encountered that string (stack trace, build file, dependency list, etc.), I can point you to the exact fix/meaning in that context.
com.facebook.ktfmt.onlineformatter is the Java/Kotlin package name used by ktfmt’s “online formatter” backend—an AWS Lambda service that formats Kotlin code with ktfmt (it’s what powers the web playground). (Android Git Repositories)
online_formatter/ module that builds/deploys the Lambda; the deploy script builds two jars, one containing the com.facebook.ktfmt.onlineformatter package and another with dependencies. (Android Git Repositories)https://facebook.github.io/ktfmt/ (Android Git Repositories)If you tell me where you encountered that string (stack trace, build file, dependency list, etc.), I can point you to the exact fix/meaning in that context.
Yep — what you pasted is accurate.
com.facebook.ktfmt.onlineformatter refers toIt’s the package used by ktfmt’s “online formatter” backend, implemented as an AWS Lambda. In the ktfmt repo’s online_formatter/ module, the deploy script explicitly builds two JARs: one containing the com.facebook.ktfmt.onlineformatter code and one containing dependencies (including ktfmt). (Android Git Repositories)
online_formatter/ code (Lambda build/deploy module) is where that package lives. (Android Git Repositories)com.facebook:ktfmt. (Maven Repository)If you paste where you saw the string (e.g., a Gradle dependencies snippet, a stack trace, or a JAR name), I can tell you which dependency is bringing it in and the cleanest way to remove it.
I opened that link — it’s a Chat01.ai transcript (created April 4, 2026) that repeats the explanation about com.facebook.ktfmt.onlineformatter. (chat01.ai)
Here’s the ground-truth from ktfmt’s own sources:
online_formatter/ module (the AWS Lambda backend), the README says the deploy script builds two JARs, and one of them contains the com.facebook.ktfmt.onlineformatter package. (Android Git Repositories)facebook.github.io/ktfmt/. (Android Git Repositories)com.facebook.ktfmt.onlineformatter in your projectMost of the time it means something pulled in the “online formatter” Lambda artifact/module, which you typically don’t want unless you’re deploying that Lambda.
Practical checks/fixes (Gradle):
./gradlew :yourModule:dependencies (or dependencyInsight) and search for ktfmt / online_formatter.If you paste the Gradle dependency line (or the output of dependencyInsight for ktfmt), I can tell you exactly which dependency is bringing it in and the cleanest exclude rule.