While trying to build a project using intelliJ Ultimate 12 I am getting these errors
use -source or higher to enable diamond operator use -source 7 or higher
If using Gradle as a build automation, set following settings in build.gradle and re-import your project:
sourceCompatibility = 1.7
targetCompatibility = 1.7