Run grails and gradle tests with filepath capture