We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For context, I have a libs.versions.toml file to express the versions of my library in gradle, it looks a bit like this (full example here
libs.versions.toml
[versions] groovy = "3.0.5" checkstyle = "8.37" [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" } }
It's using a short cut, version.ref = "groovy", instead of version = {ref = "groovy"}. This confuses toml-sort.
version.ref = "groovy"
version = {ref = "groovy"}
toml-sort
[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"}} [versions] groovy = "3.0.5" checkstyle = "8.37"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For context, I have a
libs.versions.toml
file to express the versions of my library in gradle, it looks a bit like this (full example hereIt's using a short cut,
version.ref = "groovy"
, instead ofversion = {ref = "groovy"}
. This confusestoml-sort
.The text was updated successfully, but these errors were encountered: