I used gradle build command in Centos 7 terminal and I got output:
FAILURE: Build failed with an exception. * What we
If you using wrapper gradlew, in root make directory .gradle_new
mkdir .gradle_new chmod -R 777 .gradle_new
and run gradlew with arguments:
--project-cache-dir .gradle_new