Search Gradle plugins

Using the plugins DSL:

plugins {
  id "com.redpillanalytics.checkmate.odi" version "1.3.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.redpillanalytics:checkmate-odi:1.3.3"
  }
}

apply plugin: "com.redpillanalytics.checkmate.odi"

Using the plugins DSL:

plugins {
  id("com.redpillanalytics.checkmate.odi") version "1.3.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.redpillanalytics:checkmate-odi:1.3.3")
  }
}

apply(plugin = "com.redpillanalytics.checkmate.odi")

Learn how to apply plugins to subprojects