Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c51a67d authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

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: Manual, verified that the ktfmt hook was working
Flag: EXEMPT repo hook
Change-Id: I865b6b16facb76514c611f208f983d85b7b9bffe
parent 5e723652
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,4 +12,4 @@ checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPL
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