Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.openrewrite.rewrite-metrics") version "4.1.4"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.openrewrite:plugin:4.1.4")
      }
    }
    
    apply(plugin = "org.openrewrite.rewrite-metrics")
  • Applying plugins to all subprojects .