[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}
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
commit_msg_relnote_for_current_txt = true

[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 --configuration-cache --file=${PREUPLOAD_FILES_PREFIXED}
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
commit_msg_relnote_for_current_txt = true

Make ktlint repo upload task faster
Make ktlint repo upload task faster

Enable configuration caching for ktlintCheckFile.
This makes consequetive repo upload runs faster if
there are no buildSrc changes.

Test: ./gradlew :ktlintCheckFile --configuration-cache --file=compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/Composable.kt
Change-Id: I7f5eab7bc051998a9ffb2482f4bce1f0988590b7
