Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.javiersc.semver.gradle.plugin") version "0.1.0-alpha.9"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.javiersc.semver:semver-gradle-plugin:0.1.0-alpha.9")
  }
}

apply(plugin = "com.javiersc.semver.gradle.plugin")

Using the plugins DSL:

plugins {
  id "com.javiersc.semver.gradle.plugin" version "0.1.0-alpha.9"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.javiersc.semver:semver-gradle-plugin:0.1.0-alpha.9"
  }
}

apply plugin: "com.javiersc.semver.gradle.plugin"

Learn how to apply plugins to subprojects