Updated gradle configuration to support IntelliJ 13.