openrewrite / openrewrite/rewrite

Support for changing Gradle dependency versions in TOML files

Open
#4,400 9 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement gradle parser recipe toml
Dominant language
Java
Stars
3.7k
Forks
570
Avg merge
13h 12m
Merged PRs (30d)
261

Description

What problem are you trying to solve?

We specify all of our dependencies and their versions inside toml files for our gradle projects. We would like a away to automate the upgrading of these versions via open rewrite.

Describe the solution you'd like

Recipe available for changing the version of a dependency specified in a toml file

Have you considered any alternatives or workarounds?

Consider using the find and replace recipe but it leads to several work arounds having to be in place for it to work.

Additional context

https://rewriteoss.slack.com/archives/C01A843MWG5/p1723123348552829

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing find-and-replace recipe and the project's support for Gradle-related files. Define how a recipe should identify dependency versions in TOML files, then add coverage showing that the requested dependency version changes while unrelated entries remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.