It would be nice to have a little writeup of the s...
# refreshversions
d
It would be nice to have a little writeup of the syntax and meaning of the rules files... to learn from deduction could take a bit more time for more people... also, can we have our own definitions of deps in buildSrc in the same way we would contribute? (Or maybe even have a seperate internal plugin for less-widely used libs -- that are used in our company?)
l
Do you want to contribute such a doc page/section for the rules syntax? Yes you can have your own dependency notations using refreshVersions new API in
buildSrc
, or even in a custom plugin though I don't recommend that because of the friction it'd bring when you need to upgrade refreshVersions in the project hosting the plugin before being able to upgrade it in the project.
d
I wouldn't mind contributing if I'd currently have time to look over the source code and all those rules files to understand what each thing does... 😉. Unless you'd want to summarise the syntax here, and I'll see if I could write up something for the docs (if that's shorter than just putting them straight there...)? That's great about the
buildSrc
, and I guess we'll just have to copy-paste between projects... thanks!
l
I think you can infer the rules from the existing files (linked from the new doc). It's basically two lines per rule, one for the maven coordinates, one that accepts three characters: ,
^
and
.
.