Skip to content

Commit c90dd97

Browse files
authored
Fix latest dep tests (#12596)
1 parent 29da88e commit c90dd97

File tree

5 files changed

+21
-14
lines changed

5 files changed

+21
-14
lines changed

instrumentation/hibernate/hibernate-reactive-1.0/javaagent/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ testing {
3333
implementation("org.testcontainers:testcontainers")
3434
if (latestDepTest) {
3535
implementation("org.hibernate.reactive:hibernate-reactive-core:1.+")
36-
implementation("io.vertx:vertx-pg-client:+")
36+
implementation("io.vertx:vertx-pg-client:4.+")
3737
} else {
3838
implementation("org.hibernate.reactive:hibernate-reactive-core:1.0.0.Final")
3939
implementation("io.vertx:vertx-pg-client:4.1.5")
@@ -46,8 +46,8 @@ testing {
4646
dependencies {
4747
implementation("org.testcontainers:testcontainers")
4848
if (latestDepTest) {
49-
implementation("org.hibernate.reactive:hibernate-reactive-core:2.+")
50-
implementation("io.vertx:vertx-pg-client:+")
49+
implementation("org.hibernate.reactive:hibernate-reactive-core:latest.release")
50+
implementation("io.vertx:vertx-pg-client:latest.release")
5151
} else {
5252
implementation("org.hibernate.reactive:hibernate-reactive-core:2.0.0.Final")
5353
implementation("io.vertx:vertx-pg-client:4.4.2")

instrumentation/spring/spring-cloud-aws-3.0/javaagent/build.gradle.kts

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,22 @@ muzzle {
1212
}
1313

1414
dependencies {
15-
library("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.0.0")
15+
// current latest release 3.3.0-M1 has parent that is from central because of that we can't use
16+
// library here and have to use compileOnly + testImplementation to avoid resolving the broken
17+
// version
18+
compileOnly("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.0.0")
1619
implementation(project(":instrumentation:aws-sdk:aws-sdk-2.2:library"))
1720

1821
testInstrumentation(project(":instrumentation:aws-sdk:aws-sdk-2.2:javaagent"))
1922

2023
testImplementation("org.elasticmq:elasticmq-rest-sqs_2.13")
2124

25+
testImplementation("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.0.0")
2226
testLibrary("org.springframework.boot:spring-boot-starter-test:3.0.0")
2327
testLibrary("org.springframework.boot:spring-boot-starter-web:3.0.0")
28+
29+
// current latest release 3.3.0-M1 has parent that is from central
30+
latestDepTestLibrary("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.2.1")
2431
}
2532

2633
otelJava {

instrumentation/vertx/vertx-kafka-client-3.6/javaagent/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ testing {
3434

3535
// the "library" configuration is not recognized by the test suite plugin
3636
if (latestDepTest) {
37-
implementation("io.vertx:vertx-kafka-client:+")
38-
implementation("io.vertx:vertx-codegen:+")
37+
implementation("io.vertx:vertx-kafka-client:latest.release")
38+
implementation("io.vertx:vertx-codegen:latest.release")
3939
} else {
4040
implementation("io.vertx:vertx-kafka-client:3.6.0")
4141
implementation("io.vertx:vertx-codegen:3.6.0")

instrumentation/vertx/vertx-rx-java-3.5/javaagent/build.gradle.kts

+5-5
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ testing {
4444
dependencies {
4545
implementation("org.hsqldb:hsqldb:2.3.4")
4646

47-
implementation("io.vertx:vertx-web:+")
48-
implementation("io.vertx:vertx-rx-java2:+")
49-
implementation("io.vertx:vertx-web-client:+")
50-
implementation("io.vertx:vertx-jdbc-client:+")
51-
implementation("io.vertx:vertx-circuit-breaker:+")
47+
implementation("io.vertx:vertx-web:latest.release")
48+
implementation("io.vertx:vertx-rx-java2:latest.release")
49+
implementation("io.vertx:vertx-web-client:latest.release")
50+
implementation("io.vertx:vertx-jdbc-client:latest.release")
51+
implementation("io.vertx:vertx-circuit-breaker:latest.release")
5252
}
5353
}
5454
}

instrumentation/vertx/vertx-web-3.0/javaagent/build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ testing {
3737
dependencies {
3838
implementation(project(":instrumentation:vertx:vertx-web-3.0:testing"))
3939

40-
implementation("io.vertx:vertx-web:+")
41-
implementation("io.vertx:vertx-jdbc-client:+")
42-
implementation("io.vertx:vertx-codegen:+")
40+
implementation("io.vertx:vertx-web:latest.release")
41+
implementation("io.vertx:vertx-jdbc-client:latest.release")
42+
implementation("io.vertx:vertx-codegen:latest.release")
4343
}
4444
}
4545
}

0 commit comments

Comments
 (0)