From 2cf6cb57b54931ff2bab55bc2e7b73996cb9f042 Mon Sep 17 00:00:00 2001 From: AOUDIA Date: Mon, 30 Nov 2020 01:00:04 +0100 Subject: [PATCH] build: upgrade to GraphQL Java 16.1 --- build.gradle | 4 ++-- readme.md | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index c96d00d..4be920b 100644 --- a/build.gradle +++ b/build.gradle @@ -45,8 +45,8 @@ repositories { dependencies { - compile "com.graphql-java:graphql-java:15.0" - compile "com.squareup.okhttp3:okhttp:3.2.0" + compile "com.graphql-java:graphql-java:16.1" + compile "com.squareup.okhttp3:okhttp:3.14.9" testCompile 'org.spockframework:spock-core:1.1-groovy-2.4' testCompile 'org.codehaus.groovy:groovy-all:2.4.13' diff --git a/readme.md b/readme.md index 7d2bc12..3cb5172 100644 --- a/readme.md +++ b/readme.md @@ -11,16 +11,26 @@ 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:1.0' + compile 'com.graphql-java:graphql-java-extended-scalars:16.0.0' or the following into your Maven config com.graphql-java graphql-java-extended-scalars - 1.0 + 16.0.0 - + +> Note: +> +> use 1.0.1 or above for graphql-java 14.x and above +> +> use 15.0.0 or above for graphql-java 15.x and above +> +> use 16.0.0 or above for graphql-java 16.x and above + +Its currently available from JCenter repo and Maven central. + Then register the scalar with graphql-java RuntimeWiring.newRuntimeWiring().scalar(ExtendedScalars.DateTime)