Skip to content

Removing version number from Gradle dependencies #4485

Answered by Jenson3210
sihutch asked this question in Q&A
Discussion options

You must be logged in to vote

I would recommend staying away from Find and replace for this one.
Problem is there are about 10+ ways in declaring dependencies/versions.

Are there any variables in the input?

Or is it only map and string notation with 'simple' strings?
In that case, I think that it would not be too hard.

I would go for a basic gradle recipe(RemoveVersionNotation), used in a spring recipe that migrates to dependency plugin(MigrateToDependencyPlugin)?

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@Jenson3210
Comment options

Answer selected by sihutch
@sihutch
Comment options

@Jenson3210
Comment options

@sihutch
Comment options

@timtebeek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants