Build java project with Gradle and Intellj IDEA