File tree 3 files changed +16
-29
lines changed
test/kotlin/graphql/kickstart/tools
3 files changed +16
-29
lines changed Original file line number Diff line number Diff line change 4
4
5
5
<groupId >com.graphql-java-kickstart</groupId >
6
6
<artifactId >graphql-java-tools</artifactId >
7
- <version >13.1.2-SNAPSHOT</version >
7
+ <version >13.1.2-SAMS- SNAPSHOT</version >
8
8
<packaging >jar</packaging >
9
9
10
10
<name >GraphQL Java Tools</name >
13
13
14
14
<properties >
15
15
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
16
- <java .version>11 </java .version>
16
+ <java .version>1.8 </java .version>
17
17
<kotlin .version>1.8.21</kotlin .version>
18
18
<kotlin-coroutines .version>1.7.3</kotlin-coroutines .version>
19
19
<jackson .version>2.15.3</jackson .version>
20
- <graphql-java .version>21.3 </graphql-java .version>
20
+ <graphql-java .version>20.7 </graphql-java .version>
21
21
<reactive-streams .version>1.0.4</reactive-streams .version>
22
22
23
23
<maven .compiler.source>${java.version} </maven .compiler.source>
146
146
<groupId >org.jetbrains.kotlin</groupId >
147
147
<artifactId >kotlin-reflect</artifactId >
148
148
</dependency >
149
+ <dependency >
150
+ <!--
151
+ TODO not sure what's right to use for kotlin coroutines on Java 8.
152
+ -->
153
+ <groupId >org.jetbrains.kotlinx</groupId >
154
+ <artifactId >kotlinx-coroutines-jdk8</artifactId >
155
+ </dependency >
156
+
149
157
<dependency >
150
158
<!--
151
159
Depending on kotlinx-coroutines-core causes an ambiguous module reference warning.
286
294
<artifactId >maven-compiler-plugin</artifactId >
287
295
<version >3.11.0</version >
288
296
<configuration >
289
- <source >11 </source >
290
- <target >11 </target >
297
+ <source >8 </source >
298
+ <target >8 </target >
291
299
</configuration >
292
300
</plugin >
293
301
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import java.util.*
14
14
*/
15
15
class InaccessibleFieldResolverTest {
16
16
17
+ /*
18
+ TODO are any of these valid for Java 8? Should have seen if these existed in v13.0.x work.
17
19
@Test
18
20
fun `private field from closed module is not accessible`() {
19
21
val schema: GraphQLSchema = SchemaParser.newParser()
@@ -50,6 +52,7 @@ class InaccessibleFieldResolverTest {
50
52
val exceptionWhileDataFetching = result.errors[0] as ExceptionWhileDataFetching
51
53
assert(exceptionWhileDataFetching.exception is IllegalAccessException)
52
54
}
55
+ */
53
56
54
57
@Test
55
58
fun `private field from closed module is accessible through resolver` () {
You can’t perform that action at this time.
0 commit comments