diff options
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r-- | PREUPLOAD.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index 65b2511bb30f..0126cb660103 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -26,7 +26,9 @@ hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/c hidden_api_txt_exclude_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/exclude.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT} -ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES} +ktfmt_hook = ${REPO_ROOT}/external/ktfmt/ktfmt.py --check -i ${REPO_ROOT}/frameworks/base/packages/SystemUI/ktfmt_includes.txt ${PREUPLOAD_FILES} + +ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES} owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$" |