1[Builtin Hooks] 2google_java_format = true 3 4[Tool Paths] 5google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format 6google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py 7 8[Hook Scripts] 9checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} 10 -fw libraries/annotations 11 libraries/aupt-lib 12 libraries/base-app-helpers 13 libraries/launcher-helper 14 libraries/metrics-helper 15 libraries/power-helper 16 libraries/system-helpers 17 libraries/timeresult-helpers 18 19ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}