added debug flag for the gradle command