We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d09e57 commit 97eff5eCopy full SHA for 97eff5e
build.gradle
@@ -43,6 +43,17 @@ test {
43
environment "mlHost", mlHost
44
}
45
46
+if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
47
+ test {
48
+ // See https://stackoverflow.com/questions/72724816/running-unit-tests-with-spark-3-3-0-on-java-17-fails-with-illegalaccesserror-cl
49
+ // for an explanation of why these are needed when running the tests on Java 17.
50
+ jvmArgs = [
51
+ '--add-exports=java.base/sun.nio.ch=ALL-UNNAMED',
52
+ '--add-opens=java.base/sun.util.calendar=ALL-UNNAMED'
53
+ ]
54
+ }
55
+}
56
+
57
shadowJar {
58
// "all" is the default; no need for that in the connector filename.
59
archiveClassifier.set("")
0 commit comments