Search Gradle plugins

Version 1.17.3

1.17.3

Created 23 October 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.17.3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects