Fix jboss-logmanager latestDepTest (#8993)
This commit is contained in:
parent
f52ce2c7eb
commit
7379810603
|
@ -22,6 +22,14 @@ dependencies {
|
|||
testImplementation("org.awaitility:awaitility")
|
||||
}
|
||||
|
||||
val latestDepTest = findProperty("testLatestDeps") as Boolean
|
||||
|
||||
if (latestDepTest) {
|
||||
otelJava {
|
||||
minJavaVersionSupported.set(JavaVersion.VERSION_11)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
// TODO run tests both with and without experimental log attributes
|
||||
jvmArgs("-Dotel.instrumentation.jboss-logmanager.experimental.capture-mdc-attributes=*")
|
||||
|
|
|
@ -14,3 +14,11 @@ muzzle {
|
|||
dependencies {
|
||||
library("org.jboss.logmanager:jboss-logmanager:1.1.0.GA")
|
||||
}
|
||||
|
||||
val latestDepTest = findProperty("testLatestDeps") as Boolean
|
||||
|
||||
if (latestDepTest) {
|
||||
otelJava {
|
||||
minJavaVersionSupported.set(JavaVersion.VERSION_11)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue