Would non lambda function call be supported? I th...
# declarative-gradle
j
Would non lambda function call be supported? I think in the future it will be really normal applying plugins without any configuration as
defaults
is enough:
Copy code
// settings.gradle.dcl
defaults {
    semver {
        tagPrefix = "v"
    }
}
That will end up with a lot of empty lambdas (depending on the formatter, they can be expanded and wasting vertical space.
Copy code
// build.gradle.dcl
semver { }
I think
semver()
or
semver
should be supported. Indeed the default formatter is already changing it to
Copy code
semver {
}
p
I also thought the same but I prefer to update the formatter to { } to not change the function call when you want to add a default value.