Search Gradle plugins

Version 0.0.2 (latest)

0.0.2

Created 09 May 2020.

Configure shared Git hooks right from your Gradle buildscript

Using the plugins DSL:

plugins {
  id("com.github.jakemarsden.git-hooks") version "0.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.jakemarsden:git-hooks-gradle-plugin:0.0.2")
  }
}

apply(plugin = "com.github.jakemarsden.git-hooks")

Using the plugins DSL:

plugins {
  id "com.github.jakemarsden.git-hooks" version "0.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.jakemarsden:git-hooks-gradle-plugin:0.0.2"
  }
}

apply plugin: "com.github.jakemarsden.git-hooks"

Learn how to apply plugins to subprojects