Search Gradle plugins

Add this plugin to your build using the plugins DSL:

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

See also:

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