Fixed build bug with new gradle