Skip to content

Commit

Permalink
Fix latest dep tests (#12596)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Nov 9, 2024
1 parent 29da88e commit c90dd97
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ testing {
implementation("org.testcontainers:testcontainers")
if (latestDepTest) {
implementation("org.hibernate.reactive:hibernate-reactive-core:1.+")
implementation("io.vertx:vertx-pg-client:+")
implementation("io.vertx:vertx-pg-client:4.+")
} else {
implementation("org.hibernate.reactive:hibernate-reactive-core:1.0.0.Final")
implementation("io.vertx:vertx-pg-client:4.1.5")
Expand All @@ -46,8 +46,8 @@ testing {
dependencies {
implementation("org.testcontainers:testcontainers")
if (latestDepTest) {
implementation("org.hibernate.reactive:hibernate-reactive-core:2.+")
implementation("io.vertx:vertx-pg-client:+")
implementation("org.hibernate.reactive:hibernate-reactive-core:latest.release")
implementation("io.vertx:vertx-pg-client:latest.release")
} else {
implementation("org.hibernate.reactive:hibernate-reactive-core:2.0.0.Final")
implementation("io.vertx:vertx-pg-client:4.4.2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@ muzzle {
}

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

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

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

testImplementation("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.0.0")
testLibrary("org.springframework.boot:spring-boot-starter-test:3.0.0")
testLibrary("org.springframework.boot:spring-boot-starter-web:3.0.0")

// current latest release 3.3.0-M1 has parent that is from central
latestDepTestLibrary("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.2.1")
}

otelJava {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ testing {

// the "library" configuration is not recognized by the test suite plugin
if (latestDepTest) {
implementation("io.vertx:vertx-kafka-client:+")
implementation("io.vertx:vertx-codegen:+")
implementation("io.vertx:vertx-kafka-client:latest.release")
implementation("io.vertx:vertx-codegen:latest.release")
} else {
implementation("io.vertx:vertx-kafka-client:3.6.0")
implementation("io.vertx:vertx-codegen:3.6.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ testing {
dependencies {
implementation("org.hsqldb:hsqldb:2.3.4")

implementation("io.vertx:vertx-web:+")
implementation("io.vertx:vertx-rx-java2:+")
implementation("io.vertx:vertx-web-client:+")
implementation("io.vertx:vertx-jdbc-client:+")
implementation("io.vertx:vertx-circuit-breaker:+")
implementation("io.vertx:vertx-web:latest.release")
implementation("io.vertx:vertx-rx-java2:latest.release")
implementation("io.vertx:vertx-web-client:latest.release")
implementation("io.vertx:vertx-jdbc-client:latest.release")
implementation("io.vertx:vertx-circuit-breaker:latest.release")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ testing {
dependencies {
implementation(project(":instrumentation:vertx:vertx-web-3.0:testing"))

implementation("io.vertx:vertx-web:+")
implementation("io.vertx:vertx-jdbc-client:+")
implementation("io.vertx:vertx-codegen:+")
implementation("io.vertx:vertx-web:latest.release")
implementation("io.vertx:vertx-jdbc-client:latest.release")
implementation("io.vertx:vertx-codegen:latest.release")
}
}
}
Expand Down

0 comments on commit c90dd97

Please sign in to comment.