make it work with gradle from the command line