Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.github.rmee.oc") version "1.1.20200614081240"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.github.rmee.oc" version "1.1.20200614081240"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects