where I define all my dependency versions.
Stackoverflow lead me to believe one should place plugin versions in
gradle.properties
, which I really don't like, as some dependencies need to be the same version as their respective plugin, and I don't like having two sources of truth.
Do you really deal with 2 sources of truth, or is there some newer way to manage dependency versions?
Will moving my config from
ext
to the version catalogue help?
not kotlin but kotlin colored 1
c
Chris Lee
06/11/2023, 5:27 PM
Version catalogs are the idiomatic approach to centralizing versions.
u
ursus
06/11/2023, 5:29 PM
plugin versions as well?
c
Chris Lee
06/11/2023, 5:30 PM
yes
u
ursus
06/11/2023, 5:30 PM
great, I remember that not being the case some time ago
v
Vampire
06/11/2023, 8:38 PM
Yeah, before version catalogs existed. 😄
Vampire
06/11/2023, 8:39 PM
Well, in 7.0 where they were a preview feature plugin versions were not in, but 7.2 added them