Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.testvagrant.optimuscloud.plugin") version "0.0.3-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.0.3-beta")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects