Skip to content

Commit 191c3d9

Browse files
committed
Update graphql-java to 19.2
1 parent 95a714e commit 191c3d9

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ You would use custom scalars when you want to describe more meaningful behavior
1717

1818
To use this library put the following into your gradle config
1919

20-
compile 'com.graphql-java:graphql-java-extended-scalars:18.1'
20+
compile 'com.graphql-java:graphql-java-extended-scalars:19.0'
2121

2222
or the following into your Maven config
2323

2424
<dependency>
2525
<groupId>com.graphql-java</groupId>
2626
<artifactId>graphql-java-extended-scalars</artifactId>
27-
<version>18.1</version>
27+
<version>19.0</version>
2828
</dependency>
2929

3030
> Note:
@@ -38,6 +38,9 @@ or the following into your Maven config
3838
> use 17.0 or above for graphql-java 17.x and above
3939
>
4040
> use 18.0 or above for graphql-java 18.x and above
41+
>
42+
> use 19.0 or above for graphql-java 19.x and above
43+
4144

4245
It's currently available from Maven Central.
4346

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ version = releaseVersion ? releaseVersion : getDevelopmentVersion()
3131
println "Building version = " + version
3232
group = '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",
36+
JavaVersion.current(), System.getenv("JAVA_HOME"))
37+
throw new GradleException(msg)
38+
}
39+
3440
sourceCompatibility = 1.8
3541
targetCompatibility = 1.8
3642

@@ -41,7 +47,7 @@ repositories {
4147

4248

4349
dependencies {
44-
compile "com.graphql-java:graphql-java:18.1"
50+
compile "com.graphql-java:graphql-java:19.2"
4551

4652
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
4753
testImplementation('org.codehaus.groovy:groovy:2.5.13')

0 commit comments

Comments
 (0)