Skip to content

Commit

Permalink
fix(deps): update dependency io.netty:netty-bom to v4.1.101.final (#9833
Browse files Browse the repository at this point in the history
)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <[email protected]>
  • Loading branch information
renovate[bot] and laurit authored Dec 6, 2023
1 parent afe10b5 commit 27ee816
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ abstract class NettyAlignmentRule : ComponentMetadataRule {
with(ctx.details) {
if (id.group == "io.netty" && id.name != "netty") {
if (id.version.startsWith("4.1.")) {
belongsTo("io.netty:netty-bom:4.1.100.Final", false)
belongsTo("io.netty:netty-bom:4.1.101.Final", false)
} else if (id.version.startsWith("4.0.")) {
belongsTo("io.netty:netty-bom:4.0.56.Final", false)
}
Expand Down
13 changes: 13 additions & 0 deletions instrumentation/grpc-1.6/javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,16 @@ tasks {
}
}
}

if (!(findProperty("testLatestDeps") as Boolean)) {
configurations.testRuntimeClasspath {
resolutionStrategy {
eachDependency {
// early versions of grpc are not compatible with netty 4.1.101.Final
if (requested.group == "io.netty") {
useVersion("4.1.100.Final")
}
}
}
}
}
13 changes: 13 additions & 0 deletions instrumentation/grpc-1.6/library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,16 @@ tasks {
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
}
}

if (!(findProperty("testLatestDeps") as Boolean)) {
configurations.testRuntimeClasspath {
resolutionStrategy {
eachDependency {
// early versions of grpc are not compatible with netty 4.1.101.Final
if (requested.group == "io.netty") {
useVersion("4.1.100.Final")
}
}
}
}
}

0 comments on commit 27ee816

Please sign in to comment.