Search Gradle plugins

Add this plugin to your build using the plugins DSL:

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

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.danilopianini:gradle-pre-commit-git-hooks:1.0.15")
      }
    }
    
    apply(plugin = "org.danilopianini.gradle-pre-commit-git-hooks")
  • Applying plugins to all subprojects .