Move Netty 5 dependency to Framework platform

This commit is contained in:
Brian Clozel 2022-08-30 21:58:41 +02:00
parent a5fb55fd6d
commit f877f81ae4
4 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ javaPlatform {
dependencies {
api(platform("com.fasterxml.jackson:jackson-bom:2.13.3"))
api(platform("io.netty:netty-bom:4.1.79.Final"))
api(platform("io.netty:netty5-bom:5.0.0.Alpha4"))
api(platform("io.projectreactor:reactor-bom:2022.0.0-M4"))
api(platform("io.rsocket:rsocket-bom:1.1.2"))
api(platform("org.apache.groovy:groovy-bom:4.0.4"))

View File

@ -72,7 +72,7 @@ dependencies {
optional("io.reactivex.rxjava3:rxjava")
optional("io.smallrye.reactive:mutiny")
optional("io.netty:netty-buffer")
optional("io.netty:netty5-buffer:5.0.0.Alpha4")
optional("io.netty:netty5-buffer")
testImplementation("jakarta.annotation:jakarta.annotation-api")
testImplementation("jakarta.xml.bind:jakarta.xml.bind-api")
testImplementation("com.google.code.findbugs:jsr305")

View File

@ -23,7 +23,7 @@ dependencies {
optional("io.netty:netty-codec-http") // Until Netty4ClientHttpRequest is removed
optional("io.netty:netty-transport") // Until Netty4ClientHttpRequest is removed
optional("io.projectreactor.netty:reactor-netty-http")
optional("io.netty:netty5-buffer:5.0.0.Alpha4")
optional("io.netty:netty5-buffer")
optional("io.undertow:undertow-core")
optional("org.apache.tomcat.embed:tomcat-embed-core")
optional("org.eclipse.jetty:jetty-server") {

View File

@ -59,7 +59,7 @@ dependencies {
testRuntimeOnly("com.sun.xml.bind:jaxb-core")
testRuntimeOnly("com.sun.xml.bind:jaxb-impl")
testRuntimeOnly("com.sun.activation:jakarta.activation")
testRuntimeOnly("io.netty:netty5-buffer:5.0.0.Alpha4")
testRuntimeOnly("io.netty:netty5-buffer")
}
test {