Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.snobot.simulator.plugin.SnobotSimulatorPlugin") version "2018.01.01"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.snobot.simulator.plugin.SnobotSimulatorPlugin" version "2018.01.01"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects