adding gradle POC for chapter 2
fixing args to use empty list if no args are passed