File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ version = releaseVersion ? releaseVersion : getDevelopmentVersion()
3131println " Building version = " + version
3232group = ' com.graphql-java'
3333
34- if (JavaVersion . current() != JavaVersion . VERSION_1_8 ) {
35- def msg = String . format(" This build must be run with java 1.8 - you are running %s - gradle finds the JDK via JAVA_HOME=%s" ,
34+ if (JavaVersion . current() != JavaVersion . VERSION_11 ) {
35+ def msg = String . format(" This build must be run with Java 11 - you are running %s - gradle finds the JDK via JAVA_HOME=%s" ,
3636 JavaVersion . current(), System . getenv(" JAVA_HOME" ))
3737 throw new GradleException (msg)
3838}
3939
40- sourceCompatibility = 1.8
41- targetCompatibility = 1.8
40+ sourceCompatibility = JavaVersion . VERSION_11 . toString()
41+ targetCompatibility = JavaVersion . VERSION_11 . toString()
4242
4343repositories {
4444 mavenCentral()
You can’t perform that action at this time.
0 commit comments