Skip to content

Commit

Permalink
Update gradle build file to piece out the bits of build logic which a…
Browse files Browse the repository at this point in the history
…re specific to OSS projects, so that this can be more easily adapted to corporate environments for internal recipes.
  • Loading branch information
sambsnyd committed Apr 26, 2024
1 parent c17f53f commit 15bdd28
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
plugins {
id("org.openrewrite.build.recipe-library") version "latest.release"
id("org.openrewrite.build.recipe-library-base") version "latest.release"

// This uses the nexus publishing plugin to publish to the moderne-dev repository
// Remove it if you prefer to publish by other means
id("org.openrewrite.build.publish") version "latest.release"

// Configures artifact repositories used for dependency resolution to include maven central and nexus snapshots.
// If you are operating in an environment where public repositories are not accessible, we recommend using a
// virtual repository which mirrors both maven central and nexus snapshots.
id("org.openrewrite.build.recipe-repositories") version "latest.release"

// Only needed when you want to apply the OpenRewriteBestPractices recipe to your recipes through
// ./gradlew rewriteRun -Drewrite.activeRecipe=org.openrewrite.recipes.OpenRewriteBestPractices
Expand Down

0 comments on commit 15bdd28

Please sign in to comment.