Rule input syntax doesn't work in configure closures

software-model

(David Cowden) #1

For example, something like:

project(':proj') {
    model {
        components {
            ...
        }
        tasks { all {
            println $.components.values()
        }}
    }
}

Yields:

Invalid variable name. Must include a letter but only found: $