Search Gradle plugins

Using the plugins DSL:

plugins {
  id "me.levesque.marc.git.maven" version "2018.02.22"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.me.levesque.marc.frc.mantle:git-maven:2018.02.22"
  }
}

apply plugin: "me.levesque.marc.git.maven"

Using the plugins DSL:

plugins {
  id("me.levesque.marc.git.maven") version "2018.02.22"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.me.levesque.marc.frc.mantle:git-maven:2018.02.22")
  }
}

apply(plugin = "me.levesque.marc.git.maven")

Learn how to apply plugins to subprojects