I\'m new to groovy and gradle and was wondering whether someone knew why my scriplet wasn\'t working (edit actually it does work but the warning still appears). This section is
For the workaround, you should really call was was indicated by the << (doLast)
task hellofun() { doLast { [silly:'billy'].each { k, v -> println "$k=$v" } } }