blob: 0b2bc45bbc814b7e7a70fb9800bad8ae40927208 [file] [log] [blame]
[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} -c ${REPO_ROOT}/frameworks/support/development/checkstyle/config/support-lib.xml -p development/checkstyle/prebuilt/com.android.support.checkstyle.jar
ktlint_hook = ${REPO_ROOT}/frameworks/support/gradlew -q -p ${REPO_ROOT}/frameworks/support --continue :ktlintCheckFile --file=${PREUPLOAD_FILES_PREFIXED}
invalid_suppress_hook = ${REPO_ROOT}/frameworks/support/development/checkInvalidSuppress.py ${PREUPLOAD_FILES}
warn_check_api = ${REPO_ROOT}/frameworks/support/development/apilint.py -f ${PREUPLOAD_FILES}
[Builtin Hooks]
commit_msg_changeid_field = true
commit_msg_test_field = true
commit_msg_relnote_field_format = true