Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects