Skip to content

Upgrade to Java 11 #760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 18, 2023
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
19 changes: 13 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version>
<kotlin.version>1.8.21</kotlin.version>
<kotlin-coroutines.version>1.6.4</kotlin-coroutines.version>
<kotlin-coroutines.version>1.7.3</kotlin-coroutines.version>
<jackson.version>2.15.2</jackson.version>
<graphql-java.version>21.0</graphql-java.version>
<reactive-streams.version>1.0.4</reactive-streams.version>
Expand Down Expand Up @@ -134,18 +134,25 @@
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<!--TODO remove this after upgrading kotlin-->
<exclusions>
<exclusion>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
</dependency>
<dependency>
<!--
Depending on kotlinx-coroutines-core causes an ambiguous module reference warning.
See https://github.com/Kotlin/kotlinx.coroutines/issues/3842
-->
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-jdk8</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<artifactId>kotlinx-coroutines-core-jvm</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
Expand Down
24 changes: 24 additions & 0 deletions src/main/kotlin/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module graphql.java.tools {
requires kotlin.stdlib;
requires kotlin.reflect;
requires kotlinx.coroutines.core;
requires kotlinx.coroutines.reactive;

requires com.graphqljava;

requires com.fasterxml.jackson.core;
requires com.fasterxml.jackson.kotlin;
requires com.fasterxml.jackson.databind;
requires com.fasterxml.jackson.datatype.jdk8;
requires com.fasterxml.classmate;

requires org.antlr.antlr4.runtime;
requires org.apache.commons.lang3;
requires org.reactivestreams;
requires org.slf4j;
requires spring.aop;

exports graphql.kickstart.tools;

opens graphql.kickstart.tools to com.fasterxml.jackson.databind;
}