Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.snobot.simulator.plugin.SnobotSimulatorPlugin") version "2020-0.0.1"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.snobot.simulator.plugin.SnobotSimulatorPlugin" version "2020-0.0.1"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects