Search Gradle plugins

Version 1.2.1 (latest)

Created 03 March 2019.

Handle git hooks within gradle

Using the plugins DSL:

plugins {
  id "com.serli.dojo.gradle-safegit" version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.serli.dojo:gradle-safegit:1.2.1"
  }
}

apply plugin: "com.serli.dojo.gradle-safegit"

Using the plugins DSL:

plugins {
  id("com.serli.dojo.gradle-safegit") version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.serli.dojo:gradle-safegit:1.2.1")
  }
}

apply(plugin = "com.serli.dojo.gradle-safegit")

Learn how to apply plugins to subprojects