Search Gradle plugins

tech.jknair.githooksteam

Plugin to setup & share git hooks across java teams through VCS like every other config.

https://jknair.tech/

Sources: https://github.com/kjknair/GitHooksTeam

Version 1.2.0 (latest)

Created 08 August 2021.

Automate the setup of git hooks as part of lifecycle with the source shared through VCS using Gradle

Add this plugin to your build using the plugins DSL:

plugins {
  id("tech.jknair.githooksteam") version "1.2.0"
}

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("tech.jknair.githooksteam:tech.jknair.githooksteam.gradle.plugin:1.2.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("tech.jknair.githooksteam")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("tech.jknair.githooksteam:tech.jknair.githooksteam.gradle.plugin:1.2.0")
      }
    }
    
    apply(plugin = "tech.jknair.githooksteam")
  • Applying plugins to all subprojects .