Hi all, can anybody tell me how to use the version...
# android
p
Hi all, can anybody tell me how to use the version catalog in buildSrc. It is not recognising in buildSrc gradle.
m
c
would be better posted in #gradle
d
People have posted a work around in that issue. If you don’t want to use the work around, the only Gradle supported option is using
find${item}
where
${item}
is the library, version, etc. It works, but it’s a good bit harder for people to discover easily if they are not aware of this nuance between precompiled usage of version catalogs versus what you’d see in a module level build script.
p
Thanks for your valuable responses.
g
We use the workaround from the issue for a couple of years and have no issue
i
is there something you need on buildsrc for?
p
Yes there is few code which is required