Skip to content

Commit

Permalink
Merge pull request #82 from graphql-java/gj-20
Browse files Browse the repository at this point in the history
Upgrade to graphql-java v20
  • Loading branch information
dondonz authored Dec 18, 2022
2 parents d0fb9c4 + f636623 commit 6ce6c31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


[![Build Status](https://github.com/graphql-java/graphql-java-extended-validation/actions/workflows/master.yml/badge.svg)](https://github.com/graphql-java/graphql-java-extended-validation/actions/workflows/master.yml)
[![Latest Release](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-validation/badge.svg?version=19.1&color=blue)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-validation/)
[![Latest Release](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-validation/badge.svg?version=20.0&color=blue)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-validation/)
[![Latest Release - Jakarta EE8](https://img.shields.io/maven-central/v/com.graphql-java/graphql-java-extended-validation?versionSuffix=6.2.0.Final&label=maven-central%20jakarta%20ee8)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-validation/)
[![Latest Snapshot](https://img.shields.io/maven-central/v/com.graphql-java/graphql-java-extended-validation?label=maven-central%20snapshot)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-validation/)
[![MIT licensed](https://img.shields.io/badge/license-MIT-green)](https://github.com/graphql-java/graphql-java-extended-validation/blob/master/LICENSE.md)
Expand All @@ -19,27 +19,23 @@ This library provides extended validation of fields and field arguments for [gra
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java-extended-validation</artifactId>
<version>19.1</version>
<version>20.0</version>
</dependency>
```

```groovy
compile 'com.graphql-java:graphql-java-extended-validation:19.1'
compile 'com.graphql-java:graphql-java-extended-validation:20.0'
```

> Note:
>
> use 16.0.0 or above for graphql-java 16.x and above
> use 19.1 or above for graphql-java 19.x and above
>
> use 17.0 or above for graphql-java 17.x and above
> use 19.1-hibernate-validator-6.2.0.Final for graphql-java 19.x and SpringBoot 2.x support
>
> use 17.0-hibernate-validator-6.2.0.Final for graphql-java 17.x and SpringBoot 2.x support
> use 20.0 or above for graphql-java 20.x and above
>
> use 18.1 or above for graphql-java 18.x and above
>
> use 18.1-hibernate-validator-6.2.0.Final for graphql-java 18.x and SpringBoot 2.x support
>
> use 19.0 or above for graphql-java 19.x and above
> use 20.0-hibernate-validator-6.2.0.Final for graphql-java 20.x and SpringBoot 2.x support
It's currently available from Maven central.

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ repositories {


dependencies {
api "com.graphql-java:graphql-java:19.2"
api "com.graphql-java:graphql-java-extended-scalars:19.0"
api "com.graphql-java:graphql-java:20.0"
api "com.graphql-java:graphql-java-extended-scalars:20.0"
api "org.hibernate.validator:hibernate-validator:7.0.1.Final"
api "org.glassfish:jakarta.el:4.0.2"

Expand Down

0 comments on commit 6ce6c31

Please sign in to comment.