Search Gradle plugins

Version 2.0.0 (latest)

2.0.0

Created 21 April 2023.

Simple Git hooks

Using the plugins DSL:

plugins {
  id("com.gtramontina.ghooks.gradle") version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.gtramontina.ghooks.gradle:ghooks.gradle:2.0.0")
  }
}

apply(plugin = "com.gtramontina.ghooks.gradle")

Using the plugins DSL:

plugins {
  id "com.gtramontina.ghooks.gradle" version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.gtramontina.ghooks.gradle:ghooks.gradle:2.0.0"
  }
}

apply plugin: "com.gtramontina.ghooks.gradle"

Learn how to apply plugins to subprojects