Search Gradle plugins

Version 1.0.1 (latest)

1.0.1

Created 04 May 2023.

Plugin installs git hooks from config file

Using the plugins DSL:

plugins {
  id("com.zeyadgasser.gradle.plugins.git-hooks-plugin") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.zeyadgasser:gitHooks:1.0.1")
  }
}

apply(plugin = "com.zeyadgasser.gradle.plugins.git-hooks-plugin")

Using the plugins DSL:

plugins {
  id "com.zeyadgasser.gradle.plugins.git-hooks-plugin" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.zeyadgasser:gitHooks:1.0.1"
  }
}

apply plugin: "com.zeyadgasser.gradle.plugins.git-hooks-plugin"

Learn how to apply plugins to subprojects