Search Gradle plugins

eu.bambooapps.gradle.plugin.githook

A plugin that helps you with adding Git hooks to the project and ensuring that every developer has the same hooks

https://github.com/bamboo-apps/GitHookPlugin

Sources: https://github.com/bamboo-apps/GitHookPlugin.git

Version 1.1.1 (latest)

Created 19 December 2024.

A plugin that helps you with adding Git hooks to the project and ensuring that every developer has the same hooks

Add this plugin to your build using the plugins DSL:

plugins {
  id("eu.bambooapps.gradle.plugin.githook") version "1.1.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("eu.bambooapps.gradle.plugin.githook:eu.bambooapps.gradle.plugin.githook.gradle.plugin:1.1.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("eu.bambooapps.gradle.plugin.githook")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("eu.bambooapps.gradle.plugin.githook:eu.bambooapps.gradle.plugin.githook.gradle.plugin:1.1.1")
      }
    }
    
    apply(plugin = "eu.bambooapps.gradle.plugin.githook")
  • Applying plugins to all subprojects .