Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Spring boot 2.4 upgrade #517

Merged
merged 5 commits into from
Jan 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ and join the team!

If you're using `graphql-java-tools` in combination with Spring Boot 2.1.x or below then you need to
set the
`kotlin.version` in your Spring Boot project explicitly to version 1.3.70, because Spring Boot
Starter parent currently overrides it with a 1.2.* version of Kotlin.
`kotlin.version` in your Spring Boot project explicitly to version >= 1.3.70, because Spring Boot
Starter parent of that Spring Boot version overrides it with a 1.2.* version of Kotlin.
`graphql-java-tools` requires 1.3.* however because of its coroutine support. If you don't override
this version you will run into a `NoClassDefFoundError`.

Expand Down Expand Up @@ -108,19 +108,19 @@ repositories {
}

dependencies {
implementation 'com.graphql-java-kickstart:graphql-spring-boot-starter:8.1.0'
implementation 'com.graphql-java-kickstart:graphql-spring-boot-starter:11.0.0'

// to embed Altair tool
runtimeOnly 'com.graphql-java-kickstart:altair-spring-boot-starter:8.1.0'
runtimeOnly 'com.graphql-java-kickstart:altair-spring-boot-starter:11.0.0'

// to embed GraphiQL tool
runtimeOnly 'com.graphql-java-kickstart:graphiql-spring-boot-starter:8.1.0'
runtimeOnly 'com.graphql-java-kickstart:graphiql-spring-boot-starter:11.0.0'

// to embed Voyager tool
runtimeOnly 'com.graphql-java-kickstart:voyager-spring-boot-starter:8.1.0'
runtimeOnly 'com.graphql-java-kickstart:voyager-spring-boot-starter:11.0.0'

// testing facilities
testImplementation 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:8.1.0'
testImplementation 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:11.0.0'
}
```

Expand All @@ -130,38 +130,38 @@ Maven:
<dependency>
<groupId>com.graphql-java-kickstart</groupId>
<artifactId>graphql-spring-boot-starter</artifactId>
<version>8.1.0</version>
<version>11.0.0</version>
</dependency>

<!-- to embed Altair tool -->
<dependency>
<groupId>com.graphql-java-kickstart</groupId>
<artifactId>altair-spring-boot-starter</artifactId>
<version>8.1.0</version>
<version>11.0.0</version>
<scope>runtime</scope>
</dependency>

<!-- to embed GraphiQL tool -->
<dependency>
<groupId>com.graphql-java-kickstart</groupId>
<artifactId>graphiql-spring-boot-starter</artifactId>
<version>8.1.0</version>
<version>11.0.0</version>
<scope>runtime</scope>
</dependency>

<!-- to embed Voyager tool -->
<dependency>
<groupId>com.graphql-java-kickstart</groupId>
<artifactId>voyager-spring-boot-starter</artifactId>
<version>8.1.0</version>
<version>11.0.0</version>
<scope>runtime</scope>
</dependency>

<!-- testing facilities -->
<dependency>
<groupId>com.graphql-java-kickstart</groupId>
<artifactId>graphql-spring-boot-starter-test</artifactId>
<version>8.1.0</version>
<version>11.0.0</version>
<scope>test</scope>
</dependency>

Expand Down
5 changes: 2 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
version=11.0.1-SNAPSHOT
version=11.1.0-SNAPSHOT
### Project Metadata
PROJECT_GROUP=com.graphql-java-kickstart
PROJECT_NAME=graphql-spring-boot
Expand All @@ -32,14 +32,13 @@ SOURCE_COMPATIBILITY=1.8
TARGET_COMPATIBILITY=1.8
### Dependencies
LIB_GRAPHQL_JAVA_VER=16.1
LIB_SPRING_BOOT_VER=2.3.6.RELEASE
LIB_SPRING_BOOT_VER=2.4.2
LIB_GRAPHQL_SERVLET_VER=11.0.0
LIB_GRAPHQL_JAVA_TOOLS_VER=11.0.0
LIB_GRAPHQL_ANNOTATIONS_VER=8.3
LIB_REFLECTIONS_VER=0.9.11
LIB_APACHE_COMMONS_TEXT=1.8
LIB_JSOUP_VER=1.13.1
kotlin.version=1.3.72
### Gradle Plugins
LIB_BINTRAY_PLUGIN_VER=1.8.5
LIB_RELEASE_PLUGIN_VER=2.8.1
Expand Down