This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Apply by adding the following line to your build.gradle: | |
// apply from: 'scripts/check_for_git_hooks.gradle' | |
// Comment out any hook files that aren't relevant for you. | |
final GIT_HOOK_DIR = ".git/hooks/" | |
final IGNORE_HOOKS_FLAG = "ignoreMissingHooks" | |
final GIT_HOOK_FILES = [ | |
"applypatch-msg", | |
"commit-msg", | |
"post-applypatch", | |
"post-checkout", |