This message was deleted.
# dependency-management
s
This message was deleted.
1
a
I believe this is because
gradle/libs.versions.toml
is automatically detected so you don’t need to import it manually: https://docs.gradle.org/7.6/userguide/platforms.html#sub:conventional-dependencies-toml Error message is indeed confusing and would need some love
f
Alright, if I understood the docs correct then it will default to
libs
, and I won’t need anything within the
dependencyResolutionManagement
block?
a
Yes, if you have
gradle/libs.versions.toml
file, then:
Copy code
libs {
    from(files("gradle/libs.versions.toml"))
}
is implicit
f
Do you want me to create an issue for improving the error message, or will you do that?
a
Please do that. Maybe there is already an issue for that, but I am not sure
👀 1
f
https://github.com/gradle/gradle/issues/21328 Already reported by @Vampire 😄 As usual he has the answers!
👌 1
106 Views