summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
blob: 0bfbc432bc6a297ba39fb0cb6a7b1e3cbbf3db8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Builtin Hooks]
google_java_format = true

[Tool Paths]
google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py

[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
                  -fw libraries/annotations
                      libraries/aupt-lib
                      libraries/base-app-helpers
                      libraries/launcher-helper
                      libraries/metrics-helper
                      libraries/power-helper
                      libraries/system-helpers
                      libraries/timeresult-helpers

ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}