diff options
author | 2024-06-13 11:22:35 +0200 | |
---|---|---|
committer | 2024-06-13 11:22:35 +0200 | |
commit | b627713ec32b5c75e73e4b6bc1fa3742ef2f4508 (patch) | |
tree | 7bac74e813f4f9c3b273fe3011b417c11cd0942c | |
parent | 8767861a9d1b0a657c5533989724cc4933b85465 (diff) |
Use ktfmt.sh wrapper for ktfmt hook
This CL makes the ktfmt hook use the bash wrapper introduced in
ag/I8746885396c7837a2a6b2a42dca780da290ed582 instead of directly
executing the ktfmt.jar, now that gLinux is not able to execute
JAR files directly anymore.
Bug: 342153000
Test: Manual, verified that the ktfmt hook was working
Flag: EXEMPT repo hook
Change-Id: I6b07b42e12e00833b3dc00b68cc8229ec40da9b9
-rw-r--r-- | PREUPLOAD.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index b6209bb21..ed865dd18 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -13,4 +13,4 @@ hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/c ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES} [Tool Paths] -ktfmt = ${REPO_ROOT}/prebuilts/build-tools/common/framework/ktfmt.jar +ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh |