Hello friends, I've got news! I implemented suppo...
# refreshversions
j
Hello friends, I've got news! I implemented support for versions catalog: - generating automatically
gradle/libs.versions.toml
- rewriting the files
build.gradle(.kts)
to use them - adding dependency updates in
gradle/libs.versions.toml
It's published in the snapshot version
"0.40.2-SNAPSHOT"
Have a look at the Testing? pargraph from the pull-request https://github.com/jmfayard/refreshVersions/pull/509
❤️ 2
n
i enabled it in one of my random projects.. but i think it needs to use version references.. and the version grouping rules i left comment on github about thats.. also.. since it generates the comments in the toml file.. will version.properties not be used then ? just using toml would work for me as long as i can continue to use
$group:$artifact:_
depedencies and refreshVersion automatically adds them to the catalogs
[libraries]
and
[versions]
section
very awesome progress
j
yep, I got the comment on version grouping rules, I will do it
n
also.. when using the catalog.. will having a version.properties file around be required ? or will that go away eventually ?
j
I'm not sure to be honest. If you use the built-in dependencies or if you are on Gradle < 7.4, the file is required Even if that file is empty, its metadata is used for various tasks