Hi, what is the best way to declare dependencies between `buildSrc` and version catalogs ?
a
Hi, what is the best way to declare dependencies between
buildSrc
and version catalogs ?
👍 1
t
I would say - symbolic link
e
buildSrc/settings.gradle.kts
Copy code
dependencyResolutionManagement {
    versionCatalogs {
        create(​"​libs​"​) {
            from(files(​"​../gradle/libs.versions.toml​"​))
        }
    }
}
2
v
Depends on what you mean exactly. I would say never symbolic link for anything but how exactly depends on what you mean. In
buildSrc/build.gradle(.kts)
? Or in convention plugins built within? Or what exactly?
a
I got my response on the gradle slack, no worries :)
v
Yeah, seen it