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: Ib3baec68951bb185e79638b5b3003f8403816b19
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index ff97b22..9051ca8 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -5,7 +5,7 @@
ktfmt = --kotlinlang-style
[Tool Paths]
-ktfmt = ${REPO_ROOT}/prebuilts/build-tools/common/framework/ktfmt.jar
+ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh
[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --config_xml tools/checkstyle.xml --sha ${PREUPLOAD_COMMIT}