Search Gradle plugins

Version 1.0.1 (latest)

1.0.1

Created 19 October 2016.

A gradle plugin to share git hooks in a project

Using the plugins DSL:

plugins {
  id("ca.coglinc.githook") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.ca.coglinc:git-hook-gradle-plugin:1.0.1")
  }
}

apply(plugin = "ca.coglinc.githook")

Using the plugins DSL:

plugins {
  id "ca.coglinc.githook" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.ca.coglinc:git-hook-gradle-plugin:1.0.1"
  }
}

apply plugin: "ca.coglinc.githook"

Learn how to apply plugins to subprojects