Search Gradle plugins

org.openrewrite.build.recipe-repositories

Configures the repositories that OpenRewrite modules in open source draw dependencies from, such as Maven Central and Nexus Snapshots.

https://github.com/openrewrite/rewrite-build-gradle-plugin

Sources: https://github.com/openrewrite/rewrite-build-gradle-plugin.git

Version 1.17.2 (latest)

1.17.2

Created 01 October 2024.

Configures the repositories that OpenRewrite modules in open source draw dependencies from, such as Maven Central and Nexus Snapshots.

Using the plugins DSL:

plugins {
  id("org.openrewrite.build.recipe-repositories") version "1.17.2"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.openrewrite.build.recipe-repositories" version "1.17.2"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects