at some point it would seem that doing in `libs.ve...
# community-support
c
at some point it would seem that doing in
libs.versions.toml
Copy code
foo = ...
foo-bar = ...
and then
Copy code
dependencies { 
  implementation(libs.foo)
  implementation(libs.foo.bar)
started working, does anyone know when? because I recall that
foo
wouldn't work because it wasn't the "end provider" so to speak.
v
I mean to remember it worked always to use them as dependencies, just when you wanted to retrieve the details manually you needed to use
asProvider
or something like that
c
strange... I don't feel like rolling back to figure out when this didn't work... or if my memory is faulty or based on some edge case... (since I feel like version catalogs have quite a few of those)
v
I might misremember of course 🤷‍♂️
c
I don't even recall which version they were introduced... that I could find and determine if it worked... it may have also always worked since they went stable, I was an early adopter
v
In 7.0 they were added as experimental feature
There it indeed does not work
c
if you're testing does it work in 8? lol was just hoping to add a bit of documentation that says versions of gradle before X don't work
I"m happy to leave that at a major version 😉
v
Yes, 8.0 works
7.4.2 also
c
see early adopter 😉
lol
v
7,2 works
c
jeebus, I got hit by pain and and then assumed for like 5 years that it still didn't work because I just adjusted me
roflol. I think I'll say 7.4 since that's when version catalogs went stable according to chatgpt
v
7.1 failing
c
and I'm lazy
v
So only 7.0 and 7.1 did not work
🙂
c
fun
early adopter woes
I'll say 7.4 with a comment that 7.2 + might work, but I don't think I want to promise that (honestly not going to promise anything with it)
v
Why might? I just tested
c
I have trust issues, also because they weren't marked stable yet
👍 1
and so I can be like "version catalog stability"
I mean, do you want to test all of this? https://github.com/xenoterracide/version-catalog-spring-boot
'cause I don't
working on getting this into a real release though... which is going to be heartburn
a
> does anyone know when? 7.2 - see 'Declaring sub-accessors' https://docs.gradle.org/7.2/release-notes.html#version-catalog-improvements
👍 1
c
ugh, namecheap changed something (since the 3 years since I've logged in) and I had to switch how it worked and hosed my domain... not that anyone here cares about that. Oh well... I meant to be repointing my blog to medium anyways. Kind of burned me out. thanks, I made the changes to the readme with all this information hopefully I can get the rest of the maven central setup done tomorrow and release for spring boot 3.5 and 4.0