我目前正在使用 Gradle 7.3 版在 Ubuntu 20.04 VM 上实现 HTTP3 服务器。但是 QUIC 编解码器 (0.0.20.Final) 和 HTTP/3 编解码器 (0.0.11.Final) 依赖项会产生以下错误。
Could not find netty-incubator-codec-native-quic-0.0.25.Final-${os.detected.name}-${os.detected.arch}.jar (io.netty.incubator:netty-incubator-codec-native-quic:0.0.25.Final).
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
以下是我使用的依赖项
implementation 'io.netty.incubator:netty-incubator-codec-quic:0.0.20.Final:linux-x86_64'
implementation 'io.netty.incubator:netty-incubator-codec-http3:0.0.11.Final'