From c03f4316e6c3e8126b69a24ce07d570ac59e96e1 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Wed, 12 Jan 2022 13:42:37 -0700 Subject: [PATCH] update --- gradle/git-hooks.gradle | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gradle/git-hooks.gradle b/gradle/git-hooks.gradle index 3d46e091e..15c974ecb 100644 --- a/gradle/git-hooks.gradle +++ b/gradle/git-hooks.gradle @@ -5,12 +5,12 @@ apply plugin: "com.star-zero.gradle.githook" * * See https://github.com/STAR-ZERO/gradle-githook */ -// githook { -// createHooksDirIfNotExist = true +githook { + createHooksDirIfNotExist = true -// hooks { -// "pre-push" { -// task = "markdownlint yamllint spotlessCheck spotbugsMain spotbugsTest" -// } -// } -// } + hooks { + "pre-push" { + task = "markdownlint yamllint spotlessCheck spotbugsMain spotbugsTest" + } + } +} -- GitLab