Search Gradle plugins

Version 1.0.1

1.0.1

Created 02 June 2019.

Simple Git hooks

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects