Search Gradle plugins

Version 2.0.13 (latest)

2.0.13

Created 24 September 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.13"
}

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.13")
  }
}

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.13"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects