Search Gradle plugins

Version 1.2.1 (latest)

1.2.1

Created 29 August 2020.

Automatically create git hook scripts.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects