Skip to content

Commit 45e3e2a

Browse files
committed
Update Source Build to 17
- Needed for Release Plugin - Binaries still compile to 8
1 parent e14cc17 commit 45e3e2a

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

buildSrc/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
id 'com.apollographql.apollo' version '2.4.5'
66
}
77

8-
sourceCompatibility = JavaVersion.VERSION_11
8+
sourceCompatibility = JavaVersion.VERSION_17
99

1010
repositories {
1111
gradlePluginPortal()

core/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@ compileTestJava {
5353
}
5454
}
5555

56+
test {
57+
jvmArgs '--add-exports', 'java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
58+
}
59+

samples/boot/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies {
1919
}
2020

2121
compileTestJava {
22+
sourceCompatibility = JavaVersion.VERSION_11
2223
targetCompatibility = JavaVersion.VERSION_11
2324
}
2425

sandbox/build.gradle

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@ compileTestJava {
2323
'--add-exports', 'java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
2424
]
2525
}
26-
}
26+
}
27+
28+
test {
29+
jvmArgs '--add-exports', 'java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
30+
}

test/integration-tests/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ idea {
8484
}
8585

8686
compileTestJava {
87+
sourceCompatibility = JavaVersion.VERSION_11
8788
targetCompatibility = JavaVersion.VERSION_11
8889
}
8990

0 commit comments

Comments
 (0)