Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.testvagrant.optimuscloud.plugin") version "0.1.0-beta"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.testvagrant.optimuscloud:optimus-cloud-gradle-plugin:0.1.0-beta")
  }
}

apply(plugin = "com.testvagrant.optimuscloud.plugin")

Using the plugins DSL:

plugins {
  id "com.testvagrant.optimuscloud.plugin" version "0.1.0-beta"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.testvagrant.optimuscloud:optimus-cloud-gradle-plugin:0.1.0-beta"
  }
}

apply plugin: "com.testvagrant.optimuscloud.plugin"

Learn how to apply plugins to subprojects