Search Gradle plugins

Version 1.17.4 (latest)

1.17.4

Created 23 October 2024.

Builds recipe libraries with all the conventions and configuration used in OpenRewrite repositories. Includes conventions around which repositories to draw from and publish to. Use org.openrewrite.build.recipe-library-base if you want to build a private recipe library.

Using the plugins DSL:

plugins {
  id("org.openrewrite.build.recipe-library") version "1.17.4"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.openrewrite.build.recipe-library" version "1.17.4"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects