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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.tech.jknair.githooksteam:githooksteamplugin:1.2.0")
  }
}

apply(plugin = "tech.jknair.githooksteam")

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.tech.jknair.githooksteam:githooksteamplugin:1.2.0"
  }
}

apply plugin: "tech.jknair.githooksteam"

Learn how to apply plugins to subprojects