From f933c3bbb960227f763489f7f909d71d48fd46c4 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Sun, 3 Apr 2022 11:54:19 +0200 Subject: [PATCH] add git hook installation Signed-off-by: Andy Scherzinger --- app/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 4641b67b787..72c6f7bc66d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -334,6 +334,14 @@ dependencies { gplayImplementation "com.google.firebase:firebase-messaging:23.0.0" } +task installGitHooks(type: Copy, group: "development") { + description = "Install git hooks" + from("../scripts/hooks") { + include '*' + } + into '../.git/hooks' +} + detekt { reports { xml {