Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.opentelemetry.instrumentation.muzzle-generation") version "1.14.0-alpha"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.opentelemetry.instrumentation:gradle-plugins:1.14.0-alpha")
  }
}

apply(plugin = "io.opentelemetry.instrumentation.muzzle-generation")

Using the plugins DSL:

plugins {
  id "io.opentelemetry.instrumentation.muzzle-generation" version "1.14.0-alpha"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.opentelemetry.instrumentation:gradle-plugins:1.14.0-alpha"
  }
}

apply plugin: "io.opentelemetry.instrumentation.muzzle-generation"

Learn how to apply plugins to subprojects