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.16.0 (latest)

1.16.0

Created 22 May 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.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-repositories")

Using the plugins DSL:

plugins {
  id "org.openrewrite.build.recipe-repositories" 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-repositories"

Learn how to apply plugins to subprojects