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
119
119
120
120
apply from : rootProject. file(' gradle/special-tests.gradle' )
121
121
tasks. withType(Test ). configureEach {
122
- def args = []
123
122
if (JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_16 )) {
124
123
// 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"
129
125
}
130
- if (JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_18 )) {
131
- // https://openjdk.org/jeps/411
132
- args + = " -Djava.security.manager=allow"
133
- }
134
- jvmArgs(args)
135
126
}
136
127
137
128
jar {
You can’t perform that action at this time.
0 commit comments