Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.scm-manager.smp") version "0.7.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.scm-manager:gradle-smp-plugin:0.7.0")
  }
}

apply(plugin = "org.scm-manager.smp")

Using the plugins DSL:

plugins {
  id "org.scm-manager.smp" version "0.7.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.scm-manager:gradle-smp-plugin:0.7.0"
  }
}

apply plugin: "org.scm-manager.smp"

Learn how to apply plugins to subprojects