Skip to content

Commit

Permalink
Make README.md command runnable from IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Nov 5, 2023
1 parent 375ad4a commit 7055331
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ available in the OpenRewrite docs that provides more details than the below READ
## Local Publishing for Testing

Before you publish your recipe module to an artifact repository, you may want to try it out locally.
To do this on the command line, run `./gradlew publishToMavenLocal` (or equivalently `./gradlew pTML`).
To do this on the command line, run:
```bash
./gradlew publishToMavenLocal
# or ./gradlew pTML
```
This will publish to your local maven repository, typically under `~/.m2/repository`.

Replace the groupId, artifactId, recipe name, and version in the below snippets with the ones that correspond to your recipe.
Expand Down

0 comments on commit 7055331

Please sign in to comment.