Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.github.rmee.kubectl") version "0.2.20180409070444"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.rmee:kubernetes:0.2.20180409070444")
  }
}

apply(plugin = "com.github.rmee.kubectl")

Using the plugins DSL:

plugins {
  id "com.github.rmee.kubectl" version "0.2.20180409070444"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.rmee:kubernetes:0.2.20180409070444"
  }
}

apply plugin: "com.github.rmee.kubectl"

Learn how to apply plugins to subprojects