Search Gradle plugins

Version 0.0.1

Created 24 April 2020.

Configure shared Git hooks right from your Gradle buildscript

Using the plugins DSL:

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

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.1")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects