FloorPlan
FloorPlan copied to clipboard
Gradle Plugin: Allow for one-line direct property definition
Enforced by this (currently ignored) test.
Instead of forcing a full block like for the output format, like
floorPlan {
outputFormat {
svg {
enabled = true
}
}
}
We could allow for
floorPlan {
outputFormat {
svg.enabled = value
}
}
or even simpler:
floorPlan {
outputFormat.svg.enabled = value
}
@runningcode Do you know how this feature is called? So far I have been referring to it as "one-liner" 🤣
:D if the first syntax works, then the one liner will work as well. it is called groovy magic.