Closes #299. Correction in gradle config.