aboutsummaryrefslogtreecommitdiffstats
path: root/build-logic/automation-plugins/src/main/kotlin/com.github.android-password-store.git-hooks.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-06-05 03:25:25 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-06-05 03:58:15 +0530
commitfe3ca3f7d82436f2eaf1e6212ea278466dc85402 (patch)
tree57a41f528b78bc9a933065c9b7b50d44657f94ef /build-logic/automation-plugins/src/main/kotlin/com.github.android-password-store.git-hooks.gradle.kts
parent504c8b466c44b4a8591976ed5d8662f7c83f67fc (diff)
downloadHardenedPass-fe3ca3f7d82436f2eaf1e6212ea278466dc85402.tar.gz
HardenedPass-fe3ca3f7d82436f2eaf1e6212ea278466dc85402.zip
automation-plugins: convert to full plugins
Diffstat (limited to 'build-logic/automation-plugins/src/main/kotlin/com.github.android-password-store.git-hooks.gradle.kts')
-rw-r--r--build-logic/automation-plugins/src/main/kotlin/com.github.android-password-store.git-hooks.gradle.kts12
1 files changed, 0 insertions, 12 deletions
diff --git a/build-logic/automation-plugins/src/main/kotlin/com.github.android-password-store.git-hooks.gradle.kts b/build-logic/automation-plugins/src/main/kotlin/com.github.android-password-store.git-hooks.gradle.kts
deleted file mode 100644
index 6f661a6a..00000000
--- a/build-logic/automation-plugins/src/main/kotlin/com.github.android-password-store.git-hooks.gradle.kts
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
- * SPDX-License-Identifier: GPL-3.0-only
- */
-
-import tasks.GitHooks
-
-tasks.register<GitHooks>("installGitHooks") {
- val projectDirectory = layout.projectDirectory
- hookScript.set(projectDirectory.file("scripts/pre-push-hook.sh").asFile.readText())
- hookOutput.set(projectDirectory.file(".git/hooks/pre-push").asFile)
-}