Is something like this currently supported in `set...
# declarative-gradle
s
Is something like this currently supported in
settings.gradle.dcl
?
Copy code
dependencyResolutionManagement {
    versionCatalogs {
        create("ktorLibs") {
            from("io.ktor:ktor-version-catalog:3.4.2")
        }
    }
}
p
Nope, there is no version catalog support in DCL at all, yet
But you can use DCL in KTS, that's what I use to use version catalogs
s
Can you link to an example, maybe?
And to register the versionCatalog, just use settings.gradle.kts
s
Hmm doesn't that mean to have
settings.gradle.dcl
and
settings.gradle.kts
? That would seem weird.
p
Nope, only settings.gradle.kts
You don't need settings.gradle.dcl to enable DCL
s
Ok. The background is actually that I wanted to make another PR to your kfx project, to use the
ktor-version-catalog
instead of the manual declarations in
libs.versions.toml
. But the lack of a
settings.gradle.kts
got me confused 😅