Search Gradle plugins

Using the plugins DSL:

plugins {
  id("me.qoomon.git-versioning") version "6.1.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("me.qoomon:gradle-git-versioning-plugin:6.1.6")
  }
}

apply(plugin = "me.qoomon.git-versioning")

Using the plugins DSL:

plugins {
  id "me.qoomon.git-versioning" version "6.1.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.qoomon:gradle-git-versioning-plugin:6.1.6"
  }
}

apply plugin: "me.qoomon.git-versioning"

Learn how to apply plugins to subprojects