I want to share a libs.versions.toml file with my ...
# community-support
b
I want to share a libs.versions.toml file with my buildSrc; right now I'm using a root settings.gradle.kts and a buildSrc/settings.gradle.kts that both include
Copy code
dependencyResolutionManagement {
    versionCatalogs {
        create("libs") {
            from(files("./libs.versions.toml"))
        }
    }
}
Is this how you do it? because my intellij seems to get confused and only shows me the buildsrc gradle tasks
1
n
the relative path for the reference probably has to change in your buildsrc settings script, but otherwise, that's also how we do it 🙂
b
exactly
one more dot
n
IntelliJ doesn't have any problems here 🤷
b
are you on the latest release?
(it also used to work)
n
currently running
2024.2.0.1
, so I believe it's the latest, yes
b
nvm, found the culprit
👌 2