Guilherme Delgado
07/27/2022, 10:03 PM[versions]
some = "123"
[libraries]
my-lib = { group = "com.mycompany", name="mylib", version.ref="some" }
+
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
}
}
versus:
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
library("my-lib", "com.mycompany", "mylib").versionRef("123")
}
}
}
Personally I prefer separating in a .toml file and the “simpler” syntax, but other than that I couldn’t figure it out by reading this doc. Thanks!mkrussel
07/27/2022, 10:04 PMGuilherme Delgado
07/27/2022, 10:08 PMmbonnin
07/27/2022, 10:17 PMVampire
07/28/2022, 7:15 AMJoffrey
07/28/2022, 8:31 AMmbonnin
07/28/2022, 8:34 AMVampire
07/28/2022, 8:50 AM