chore(kotlin): format generated sources (#10664)

When viewing the generated sources, code is a lot easier to follow if it
is properly formatted. For this, we need to install the `ktlint` tool.
This commit is contained in:
Thomas Eizinger
2025-10-22 12:40:17 +11:00
committed by GitHub
parent 57a2330ca2
commit 8eb84f28f8
2 changed files with 2 additions and 1 deletions

View File

@@ -16,3 +16,4 @@ pnpm 10.18.3
# Android app
java openjdk-17
ktlint 1.7.1

View File

@@ -284,7 +284,7 @@ val generateUniffiBindings =
commandLine(
"sh",
"-c",
"cd ${rustDir.asFile} && cargo run --bin uniffi-bindgen generate --library --language kotlin ${input.asFile} --out-dir ${outDir.asFile} --no-format",
"cd ${rustDir.asFile} && cargo run --bin uniffi-bindgen generate --library --language kotlin ${input.asFile} --out-dir ${outDir.asFile}",
)
}
}