Search Gradle plugins

Using the plugins DSL:

plugins {
  id "com.xenoterracide.gradle.sem-ver" version "0.6.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.xenoterracide.gradle:gradle-plugin-bundle:0.6.1"
  }
}

apply plugin: "com.xenoterracide.gradle.sem-ver"

Using the plugins DSL:

plugins {
  id("com.xenoterracide.gradle.sem-ver") version "0.6.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.xenoterracide.gradle:gradle-plugin-bundle:0.6.1")
  }
}

apply(plugin = "com.xenoterracide.gradle.sem-ver")

Learn how to apply plugins to subprojects