Use ktfmt.sh wrapper for ktfmt hook
This CL makes the ktfmt hook use the bash wrapper introduced in
I8746885396c7837a2a6b2a42dca780da290ed582 instead of directly
executing the ktfmt.jar, now that gLinux is not able to execute
JAR files directly anymore.
Bug: 342153000
Test: Verified that the ktfmt hook was working
Flag: EXEMPT preupload hook
Change-Id: I4c244cb5434451cee8099964e10e076708502ce4
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index c4ffa34..fea2b7b 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -33,4 +33,4 @@
flag_hook = ${REPO_ROOT}/frameworks/base/packages/SystemUI/flag_check.py --msg=${PREUPLOAD_COMMIT_MESSAGE} --files=${PREUPLOAD_FILES} --project=${REPO_PROJECT}
[Tool Paths]
-ktfmt = ${REPO_ROOT}/prebuilts/build-tools/common/framework/ktfmt.jar
+ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh