From 191c3d94c3c2c783a113749ae0b5137dcc9f8769 Mon Sep 17 00:00:00 2001 From: dondonz <13839920+dondonz@users.noreply.github.com> Date: Mon, 19 Sep 2022 10:40:39 +1000 Subject: [PATCH] Update graphql-java to 19.2 --- README.md | 7 +++++-- build.gradle | 8 +++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 50f3624..72a67a9 100644 --- a/README.md +++ b/README.md @@ -17,14 +17,14 @@ You would use custom scalars when you want to describe more meaningful behavior To use this library put the following into your gradle config - compile 'com.graphql-java:graphql-java-extended-scalars:18.1' + compile 'com.graphql-java:graphql-java-extended-scalars:19.0' or the following into your Maven config com.graphql-java graphql-java-extended-scalars - 18.1 + 19.0 > Note: @@ -38,6 +38,9 @@ or the following into your Maven config > use 17.0 or above for graphql-java 17.x and above > > use 18.0 or above for graphql-java 18.x and above +> +> use 19.0 or above for graphql-java 19.x and above + It's currently available from Maven Central. diff --git a/build.gradle b/build.gradle index 4544179..f019774 100644 --- a/build.gradle +++ b/build.gradle @@ -31,6 +31,12 @@ version = releaseVersion ? releaseVersion : getDevelopmentVersion() println "Building version = " + version group = 'com.graphql-java' +if (JavaVersion.current() != JavaVersion.VERSION_1_8) { + 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", + JavaVersion.current(), System.getenv("JAVA_HOME")) + throw new GradleException(msg) +} + sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -41,7 +47,7 @@ repositories { dependencies { - compile "com.graphql-java:graphql-java:18.1" + compile "com.graphql-java:graphql-java:19.2" testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5' testImplementation('org.codehaus.groovy:groovy:2.5.13')