Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.redpillanalytics.gradle-confluent") version "0.9.6"
}

Using legacy plugin application:

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

apply(plugin = "com.redpillanalytics.gradle-confluent")

Using the plugins DSL:

plugins {
  id "com.redpillanalytics.gradle-confluent" version "0.9.6"
}

Using legacy plugin application:

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

apply plugin: "com.redpillanalytics.gradle-confluent"

Learn how to apply plugins to subprojects