Jump to content

Gradle build fails


Recommended Posts

Hi, i have been having a problem with building my mod. when i run gradle build, it fails saying

error: multi-catch statement is not supported in -source 1.6
                } catch (NumberFormatException | ArrayIndexOutOfBoundsException ex) {
  (use -source 7 or higher to enable multi-catch statement)

Is there any way I can change gradle to build with java 1.7? I have looked it up a few times but nothing seemed to work... Thanks in advance.

Link to comment
Share on other sites

This topic is now closed to further replies.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.