Search Gradle plugins

io.opentelemetry.instrumentation.muzzle-check

https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/contributing/muzzle.md

https://opentelemetry.io

Sources: https://github.com/open-telemetry/opentelemetry-java-instrumentation

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.opentelemetry.instrumentation.muzzle-check") version "1.11.0-alpha"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.opentelemetry.instrumentation.muzzle-check:io.opentelemetry.instrumentation.muzzle-check.gradle.plugin:1.11.0-alpha")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.opentelemetry.instrumentation.muzzle-check")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.opentelemetry.instrumentation.muzzle-check:io.opentelemetry.instrumentation.muzzle-check.gradle.plugin:1.11.0-alpha")
      }
    }
    
    apply(plugin = "io.opentelemetry.instrumentation.muzzle-check")
  • Applying plugins to all subprojects .