Intellij的Gradle构建错误

时间:2016-06-22 21:07:48

标签: java intellij-idea gradle gradlew

$ java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
$ gradle -version
  
Gradle 2.14
------------------------------------------------------------

Build time:   2016-06-14 07:16:37 UTC
Revision:     cba5fea19f1e0c6a00cc904828a6ec4e11739abc

Groovy:       2.4.4
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.7.0_80 (Oracle Corporation 24.80-b11)
OS:           Mac OS X 10.11.5 x86_64

使用Intellij构建Gradle项目时出现此错误

enter image description here

任何人都知道该怎么做?我应该使用Java 8而不是Java 7吗?

0 个答案:

没有答案