Search Gradle plugins

Using the plugins DSL:

plugins {
  id "com.xenoterracide.gradle.sem-ver" version "0.5.0-9-gc94523f"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.xenoterracide.gradle:pluginbundle:0.5.0-9-gc94523f"
  }
}

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

Using the plugins DSL:

plugins {
  id("com.xenoterracide.gradle.sem-ver") version "0.5.0-9-gc94523f"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects