Trying groovy and gradle to build useful CLI log-analysing tool