Search Gradle plugins

Version 2.0.4

Created 22 March 2024.

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 "2.0.4"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects