File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -119,19 +119,10 @@ spotbugs { reportLevel = 'low' } // low|medium|high (low = sensitive to even min
119119
120120apply from : rootProject. file(' gradle/special-tests.gradle' )
121121tasks. withType(Test ). configureEach {
122- def args = []
123122 if (JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_16 )) {
124123 // https://docs.gradle.org/7.5/userguide/upgrading_version_7.html#removes_implicit_add_opens_for_test_workers
125- args + = [
126- " --add-opens=java.base/java.lang=ALL-UNNAMED" ,
127- " --add-opens=java.base/java.util=ALL-UNNAMED" ,
128- ]
124+ jvmArgs " --add-opens=java.base/java.lang=ALL-UNNAMED"
129125 }
130- if (JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_18 )) {
131- // https://openjdk.org/jeps/411
132- args + = " -Djava.security.manager=allow"
133- }
134- jvmArgs(args)
135126}
136127
137128jar {
You can’t perform that action at this time.
0 commit comments