mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 02:18:47 +00:00
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:
@@ -16,3 +16,4 @@ pnpm 10.18.3
|
||||
|
||||
# Android app
|
||||
java openjdk-17
|
||||
ktlint 1.7.1
|
||||
|
||||
@@ -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}",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user