running gradle script with stacktrace and debug flag