Fix warning in build scripts
MODIFY
instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts
instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts
@@ -106,7 +106,7 @@ tasks {
}
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
}
withType<Test>().configureEach {

MODIFY
instrumentation/elasticsearch/elasticsearch-rest-5.0/javaagent/build.gradle.kts
instrumentation/elasticsearch/elasticsearch-rest-5.0/javaagent/build.gradle.kts
@@ -39,7 +39,7 @@ dependencies {
tasks {
withType<Test>().configureEach {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
}
}

MODIFY
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-jersey-2.0/javaagent/build.gradle.kts
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-jersey-2.0/javaagent/build.gradle.kts
@@ -48,7 +48,7 @@ dependencies {
tasks {
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
}
withType<Test>().configureEach {

MODIFY
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts
@@ -51,7 +51,7 @@ dependencies {
tasks {
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
}
withType<Test>().configureEach {

MODIFY
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.1/javaagent/build.gradle.kts
instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.1/javaagent/build.gradle.kts
@@ -46,7 +46,7 @@ dependencies {
tasks {
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
}
withType<Test>().configureEach {

MODIFY
instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts
instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts
@@ -25,7 +25,7 @@ dependencies {
tasks {
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
}
}

MODIFY
instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts
instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts
@@ -14,7 +14,7 @@ dependencies {
tasks {
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
}
}

MODIFY
instrumentation/netty/netty-4.1/javaagent/build.gradle.kts
instrumentation/netty/netty-4.1/javaagent/build.gradle.kts
@@ -53,7 +53,7 @@ tasks {
}
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
dependsOn(testConnectionSpan)
filter {

MODIFY
instrumentation/redisson-3.0/javaagent/build.gradle.kts
instrumentation/redisson-3.0/javaagent/build.gradle.kts
@@ -18,6 +18,6 @@ dependencies {
}
tasks.named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
}

MODIFY
instrumentation/spring/spring-integration-4.1/javaagent/build.gradle.kts
instrumentation/spring/spring-integration-4.1/javaagent/build.gradle.kts
@@ -58,7 +58,7 @@ tasks {
}
withType<Test>().configureEach {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
}
}

MODIFY
instrumentation/spring/spring-integration-4.1/library/build.gradle.kts
instrumentation/spring/spring-integration-4.1/library/build.gradle.kts
@@ -18,7 +18,7 @@ dependencies {
tasks {
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
}
}

MODIFY
instrumentation/spring/spring-webflux-5.0/javaagent/build.gradle.kts
instrumentation/spring/spring-webflux-5.0/javaagent/build.gradle.kts
@@ -67,5 +67,5 @@ tasks.withType<Test>().configureEach {
// a good approach. Come up with a better one and enable this.
jvmArgs("-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false")
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
}

MODIFY
instrumentation/vertx-http-client/vertx-http-client-3.0/javaagent/build.gradle.kts
instrumentation/vertx-http-client/vertx-http-client-3.0/javaagent/build.gradle.kts
@@ -28,6 +28,6 @@ dependencies {
tasks {
named<Test>("test") {
- systemProperty("testLatestDeps", findProperty("testLatestDeps"))
+ systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
}
}
\ No newline at end of file

Fix warning in build scripts (#3739)