fix error running desktop game with new gradle version