Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.buddybuild.bbjunitinterceptor") version "0.0.02"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.buddybuild:plugins:0.0.128")
  }
}

apply(plugin = "com.buddybuild.bbjunitinterceptor")

Using the plugins DSL:

plugins {
  id "com.buddybuild.bbjunitinterceptor" version "0.0.02"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.buddybuild:plugins:0.0.128"
  }
}

apply plugin: "com.buddybuild.bbjunitinterceptor"

Learn how to apply plugins to subprojects