Skip to content

Commit 7be6e0d

Browse files
committed
More changes
Signed-off-by: Violeta Georgieva <696661+violetagg@users.noreply.github.com>
1 parent f169438 commit 7be6e0d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reactor-netty-core/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ java17Test {
201201
jvmArgs = ["-XX:+AllowRedefinitionToAddDeleteMethods"]
202202
}
203203
java11Test {
204-
// Ensure runtime classpath includes test dependencies plus java11Test specific ones
205-
// Exclude incubator io_uring from test.runtimeClasspath as java11 uses the new non-incubator version
206-
classpath = sourceSets.main.output + (sourceSets.test.runtimeClasspath - configurations.testRuntimeClasspath.fileCollection {
207-
it.group == 'io.netty.incubator' && it.name.contains('io_uring')
208-
}) + sourceSets.java11Test.runtimeClasspath
204+
exclude '**/*NativeConfigTest*.*'
205+
// Filter out incubator io_uring as java11 uses the new non-incubator version
206+
classpath = classpath.filter { file ->
207+
!(file.name.contains('io_uring') && file.name.contains('incubator'))
208+
} + sourceSets.java11Test.runtimeClasspath
209209
}
210210

211211
components.java.withVariantsFromConfiguration(configurations.testFixturesApiElements) { skip() }

0 commit comments

Comments
 (0)