Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects