Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.buddybuild.bbjunitinterceptor"

Learn how to apply plugins to subprojects