Modified gradle build for intelliJ