Search Gradle plugins

Version 1.1.0 (latest)

Created 04 December 2018.

Automatically create git hook scripts.

Using the plugins DSL:

plugins {
  id "com.star-zero.gradle.githook" version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.star-zero.gradle:githook:1.1.0"
  }
}

apply plugin: "com.star-zero.gradle.githook"

Using the plugins DSL:

plugins {
  id("com.star-zero.gradle.githook") version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.star-zero.gradle:githook:1.1.0")
  }
}

apply(plugin = "com.star-zero.gradle.githook")

Learn how to apply plugins to subprojects