Search Gradle plugins

Version 1.16.0 (latest)

1.16.0

Created 22 May 2024.

Produces a `/META-INF/rewrite/recipe-example.yml` file containing recipe examples

Using the plugins DSL:

plugins {
  id("org.openrewrite.build.recipe-examples") version "1.16.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.openrewrite:rewrite-build-gradle-plugin:1.16.0")
  }
}

apply(plugin = "org.openrewrite.build.recipe-examples")

Using the plugins DSL:

plugins {
  id "org.openrewrite.build.recipe-examples" version "1.16.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.openrewrite:rewrite-build-gradle-plugin:1.16.0"
  }
}

apply plugin: "org.openrewrite.build.recipe-examples"

Learn how to apply plugins to subprojects