Search Gradle plugins

Using the plugins DSL:

plugins {
  id "com.snobot.simulator.plugin.SnobotSimulatorPlugin" version "2019-0.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.snobot.simulator.plugin:SnobotSimulatorPlugin:2019-0.0.0"
  }
}

apply plugin: "com.snobot.simulator.plugin.SnobotSimulatorPlugin"

Using the plugins DSL:

plugins {
  id("com.snobot.simulator.plugin.SnobotSimulatorPlugin") version "2019-0.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.snobot.simulator.plugin:SnobotSimulatorPlugin:2019-0.0.0")
  }
}

apply(plugin = "com.snobot.simulator.plugin.SnobotSimulatorPlugin")

Learn how to apply plugins to subprojects