I used gradle build command in Centos 7 terminal and I got output:
FAILURE: Build failed with an exception. * What we
For me this was to do with Java versions. I have Java 10 installed and as the default Java on my system. Setting a JAVA_HOME pointing at Java 8 was sufficient for the project (graphql-spring-boot) to build.