11/*
2- * Copyright (c) 2020-2025 VMware, Inc. or its affiliates, All Rights Reserved.
2+ * Copyright (c) 2020-2026 VMware, Inc. or its affiliates, All Rights Reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -89,11 +89,6 @@ dependencies {
8989 // on the other hand, if we want to make transport-specific tests, we'll make all
9090 // native optional at compile time and add correct native/nio to testRuntime
9191 if (project. hasProperty(" forceTransport" )) {
92- // so that the main code compiles
93- compileOnly " io.netty:netty-transport-native-epoll:$nettyVersion "
94- compileOnly " io.netty:netty-transport-native-kqueue:$nettyVersion "
95- compileOnly " io.netty.incubator:netty-incubator-transport-native-io_uring:$nettyIoUringVersion "
96- compileOnly " io.netty:netty-transport-native-io_uring:$nettyVersion "
9792 // now we explicitly add correctly qualified native, or do nothing if we want to test NIO
9893 if (forceTransport == " native" ) {
9994 if (osdetector. os == " osx" ) {
@@ -113,9 +108,6 @@ dependencies {
113108 else {
114109 // classic build to be distributed
115110 api " io.netty:netty-transport-native-epoll:$nettyVersion :linux-x86_64"
116- compileOnly " io.netty:netty-transport-native-kqueue:$nettyVersion "
117- compileOnly " io.netty.incubator:netty-incubator-transport-native-io_uring:$nettyIoUringVersion "
118- compileOnly " io.netty:netty-transport-native-io_uring:$nettyVersion "
119111 }
120112
121113 // Metrics
0 commit comments