Search Gradle plugins

org.danilopianini.gradle-pre-commit-git-hooks

A Gradle plugin enforcing pre-commit and commit-msg Git hooks configuration. Conventional-commits-ready.

https://github.com/DanySK/gradle-pre-commit-git-hooks

Version 1.0.11

Created 26 May 2022.

A Gradle plugin enforcing pre-commit and commit-msg Git hooks configuration. Conventional-commits-ready.

Using the plugins DSL:

plugins {
  id "org.danilopianini.gradle-pre-commit-git-hooks" version "1.0.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.danilopianini:gradle-pre-commit-git-hooks:1.0.11"
  }
}

apply plugin: "org.danilopianini.gradle-pre-commit-git-hooks"

Using the plugins DSL:

plugins {
  id("org.danilopianini.gradle-pre-commit-git-hooks") version "1.0.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.danilopianini:gradle-pre-commit-git-hooks:1.0.11")
  }
}

apply(plugin = "org.danilopianini.gradle-pre-commit-git-hooks")

Learn how to apply plugins to subprojects