The project uses Gradle 2.12 which is incompatible with IDEA running on Java 10 or newer
I have found a solution for this. On Intellij press Ctrl+shift+a -> Switch Boot JDK ->choose JDK version
Another solution is use Intellij Utimate Edition. Choose file/Setting and configure Gradle and Java version
In case if you didn't find switch boot JDK option in IDEA you can use
"choose runtime" plugin.
https://www.jetbrains.com/help/idea/switching-boot-jdk.html
if you want it in action, try Ctrl + shift + A then type choose runtime , in the dialog choose run time select the runtime you want.