Limit vert.x latest dep version (#13858)
This commit is contained in:
parent
8cde80aae2
commit
6a79a65272
|
|
@ -47,7 +47,7 @@ testing {
|
||||||
implementation("org.testcontainers:testcontainers")
|
implementation("org.testcontainers:testcontainers")
|
||||||
if (latestDepTest) {
|
if (latestDepTest) {
|
||||||
implementation("org.hibernate.reactive:hibernate-reactive-core:latest.release")
|
implementation("org.hibernate.reactive:hibernate-reactive-core:latest.release")
|
||||||
implementation("io.vertx:vertx-pg-client:latest.release")
|
implementation("io.vertx:vertx-pg-client:4.+")
|
||||||
} else {
|
} else {
|
||||||
implementation("org.hibernate.reactive:hibernate-reactive-core:2.0.0.Final")
|
implementation("org.hibernate.reactive:hibernate-reactive-core:2.0.0.Final")
|
||||||
implementation("io.vertx:vertx-pg-client:4.4.2")
|
implementation("io.vertx:vertx-pg-client:4.4.2")
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ muzzle {
|
||||||
pass {
|
pass {
|
||||||
group.set("io.vertx")
|
group.set("io.vertx")
|
||||||
module.set("vertx-core")
|
module.set("vertx-core")
|
||||||
versions.set("[4.0.0,)")
|
versions.set("[4.0.0,5)")
|
||||||
assertInverse.set(true)
|
assertInverse.set(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -20,4 +20,7 @@ dependencies {
|
||||||
implementation(project(":instrumentation:vertx:vertx-http-client:vertx-http-client-common:javaagent"))
|
implementation(project(":instrumentation:vertx:vertx-http-client:vertx-http-client-common:javaagent"))
|
||||||
|
|
||||||
testInstrumentation(project(":instrumentation:netty:netty-4.1:javaagent"))
|
testInstrumentation(project(":instrumentation:netty:netty-4.1:javaagent"))
|
||||||
|
|
||||||
|
latestDepTestLibrary("io.vertx:vertx-core:4.+") // documented limitation, 5.x not supported yet
|
||||||
|
latestDepTestLibrary("io.vertx:vertx-codegen:4.+") // documented limitation, 5.x not supported yet
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@ dependencies {
|
||||||
testImplementation(project(":instrumentation:vertx:vertx-kafka-client-3.6:testing"))
|
testImplementation(project(":instrumentation:vertx:vertx-kafka-client-3.6:testing"))
|
||||||
|
|
||||||
testInstrumentation(project(":instrumentation:kafka:kafka-clients:kafka-clients-0.11:javaagent"))
|
testInstrumentation(project(":instrumentation:kafka:kafka-clients:kafka-clients-0.11:javaagent"))
|
||||||
|
|
||||||
|
latestDepTestLibrary("io.vertx:vertx-kafka-client:4.+") // documented limitation, 5.x not supported yet
|
||||||
|
latestDepTestLibrary("io.vertx:vertx-codegen:4.+") // documented limitation, 5.x not supported yet
|
||||||
}
|
}
|
||||||
|
|
||||||
val latestDepTest = findProperty("testLatestDeps") as Boolean
|
val latestDepTest = findProperty("testLatestDeps") as Boolean
|
||||||
|
|
@ -34,8 +37,8 @@ testing {
|
||||||
|
|
||||||
// the "library" configuration is not recognized by the test suite plugin
|
// the "library" configuration is not recognized by the test suite plugin
|
||||||
if (latestDepTest) {
|
if (latestDepTest) {
|
||||||
implementation("io.vertx:vertx-kafka-client:latest.release")
|
implementation("io.vertx:vertx-kafka-client:4.+")
|
||||||
implementation("io.vertx:vertx-codegen:latest.release")
|
implementation("io.vertx:vertx-codegen:4.+")
|
||||||
} else {
|
} else {
|
||||||
implementation("io.vertx:vertx-kafka-client:3.6.0")
|
implementation("io.vertx:vertx-kafka-client:3.6.0")
|
||||||
implementation("io.vertx:vertx-codegen:3.6.0")
|
implementation("io.vertx:vertx-codegen:3.6.0")
|
||||||
|
|
|
||||||
|
|
@ -50,11 +50,11 @@ testing {
|
||||||
compileOnly(project.dependencies.project(":testing:armeria-shaded-for-testing", configuration = "shadow"))
|
compileOnly(project.dependencies.project(":testing:armeria-shaded-for-testing", configuration = "shadow"))
|
||||||
|
|
||||||
implementation("org.hsqldb:hsqldb:2.3.4")
|
implementation("org.hsqldb:hsqldb:2.3.4")
|
||||||
implementation("io.vertx:vertx-web:latest.release")
|
implementation("io.vertx:vertx-web:4.+")
|
||||||
implementation("io.vertx:vertx-rx-java2:latest.release")
|
implementation("io.vertx:vertx-rx-java2:4.+")
|
||||||
implementation("io.vertx:vertx-web-client:latest.release")
|
implementation("io.vertx:vertx-web-client:4.+")
|
||||||
implementation("io.vertx:vertx-jdbc-client:latest.release")
|
implementation("io.vertx:vertx-jdbc-client:4.+")
|
||||||
implementation("io.vertx:vertx-circuit-breaker:latest.release")
|
implementation("io.vertx:vertx-circuit-breaker:4.+")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ muzzle {
|
||||||
pass {
|
pass {
|
||||||
group.set("io.vertx")
|
group.set("io.vertx")
|
||||||
module.set("vertx-sql-client")
|
module.set("vertx-sql-client")
|
||||||
versions.set("[4.0.0,)")
|
versions.set("[4.0.0,5)")
|
||||||
assertInverse.set(true)
|
assertInverse.set(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -20,6 +20,10 @@ dependencies {
|
||||||
|
|
||||||
testLibrary("io.vertx:vertx-pg-client:$version")
|
testLibrary("io.vertx:vertx-pg-client:$version")
|
||||||
testLibrary("io.vertx:vertx-codegen:$version")
|
testLibrary("io.vertx:vertx-codegen:$version")
|
||||||
|
|
||||||
|
latestDepTestLibrary("io.vertx:vertx-sql-client:4.+") // documented limitation, 5.x not supported yet
|
||||||
|
latestDepTestLibrary("io.vertx:vertx-pg-client:4.+") // documented limitation, 5.x not supported yet
|
||||||
|
latestDepTestLibrary("io.vertx:vertx-codegen:4.+") // documented limitation, 5.x not supported yet
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
|
|
||||||
|
|
@ -37,9 +37,9 @@ testing {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":instrumentation:vertx:vertx-web-3.0:testing"))
|
implementation(project(":instrumentation:vertx:vertx-web-3.0:testing"))
|
||||||
|
|
||||||
implementation("io.vertx:vertx-web:latest.release")
|
implementation("io.vertx:vertx-web:4.+")
|
||||||
implementation("io.vertx:vertx-jdbc-client:latest.release")
|
implementation("io.vertx:vertx-jdbc-client:4.+")
|
||||||
implementation("io.vertx:vertx-codegen:latest.release")
|
implementation("io.vertx:vertx-codegen:4.+")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue