Skip to content

Commit 8a30e26

Browse files
authored
Merge pull request #73 from graphql-java/19.0-release
19.0 release
2 parents 5b55a08 + e134a23 commit 8a30e26

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ You would use custom scalars when you want to describe more meaningful behavior
1818
## How to install
1919
To use this library put the following into your gradle config
2020

21-
implementation 'com.graphql-java:graphql-java-extended-scalars:18.1'
21+
implementation 'com.graphql-java:graphql-java-extended-scalars:19.0'
2222

2323
or the following into your Maven config
2424

2525
<dependency>
2626
<groupId>com.graphql-java</groupId>
2727
<artifactId>graphql-java-extended-scalars</artifactId>
28-
<version>18.1</version>
28+
<version>19.0</version>
2929
</dependency>
3030

3131
> Note:
@@ -39,6 +39,9 @@ or the following into your Maven config
3939
> use 17.0 or above for graphql-java 17.x and above
4040
>
4141
> use 18.0 or above for graphql-java 18.x and above
42+
>
43+
> use 19.0 or above for graphql-java 19.x and above
44+
4245

4346
It's currently available from Maven Central.
4447

build.gradle

+7-1
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)