Slackbot
08/09/2023, 2:10 PMChris Lee
08/09/2023, 2:15 PMChris Lee
08/09/2023, 2:16 PM[libraries]
groovy-core = { module = "org.codehaus.groovy:groovy", version.ref = "groovy" }
groovy-json = { module = "org.codehaus.groovy:groovy-json", version.ref = "groovy" }
groovy-nio = { module = "org.codehaus.groovy:groovy-nio", version.ref = "groovy" }
commons-lang3 = { group = "org.apache.commons", name = "commons-lang3", version = { strictly = "[3.8, 4.0[", prefer="3.9" } }
Chris Lee
08/09/2023, 2:16 PMAndrew Tasso
08/09/2023, 2:18 PMgroovy-core = ...
vs "groovy.core" = ...
. Not quoting the keys of the elements.Andrew Tasso
08/09/2023, 2:18 PMChris Lee
08/09/2023, 2:19 PMAndrew Tasso
08/09/2023, 2:20 PMdependencyResolutionManagement {
versionCatalogs {
libs {
library('<http://commons.io|commons.io>', 'commons-io', 'commons-io').version('2.11.0')
}
}
}
Chris Lee
08/09/2023, 2:21 PM.
has a special meaning in Toml hence isn’t allowed in the alias; -
give you the equivalently-generated accessors.Andrew Tasso
08/09/2023, 2:23 PMChris Lee
08/09/2023, 2:26 PM.
in an alias.
It doesn’t work for me taking an existing entry and trying a quoted version of it:
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine" }
"junit.jupiter.engine" = { module = "org.junit.jupiter:junit-jupiter-engine" }
Chris Lee
08/09/2023, 2:28 PM.
in programatically created aliases (settings.gradle.kts, for example) but not in TOML, whether quoted or not.Andrew Tasso
08/09/2023, 2:44 PM