diff --git a/instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts b/instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts index 233ac9e645..f6d184edc9 100644 --- a/instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts +++ b/instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts @@ -106,7 +106,7 @@ tasks { } named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) } withType().configureEach { diff --git a/instrumentation/elasticsearch/elasticsearch-rest-5.0/javaagent/build.gradle.kts b/instrumentation/elasticsearch/elasticsearch-rest-5.0/javaagent/build.gradle.kts index ceaa0ff454..aef5357700 100644 --- a/instrumentation/elasticsearch/elasticsearch-rest-5.0/javaagent/build.gradle.kts +++ b/instrumentation/elasticsearch/elasticsearch-rest-5.0/javaagent/build.gradle.kts @@ -39,7 +39,7 @@ dependencies { tasks { withType().configureEach { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) } } diff --git a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-jersey-2.0/javaagent/build.gradle.kts b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-jersey-2.0/javaagent/build.gradle.kts index 6fa997f542..8832392a7d 100644 --- a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-jersey-2.0/javaagent/build.gradle.kts +++ b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-jersey-2.0/javaagent/build.gradle.kts @@ -48,7 +48,7 @@ dependencies { tasks { named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) } withType().configureEach { diff --git a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts index cf441e8fe5..dbe87db0a2 100644 --- a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts +++ b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.0/javaagent/build.gradle.kts @@ -51,7 +51,7 @@ dependencies { tasks { named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) } withType().configureEach { diff --git a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.1/javaagent/build.gradle.kts b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.1/javaagent/build.gradle.kts index 84bf4619ac..36a32613b7 100644 --- a/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.1/javaagent/build.gradle.kts +++ b/instrumentation/jaxrs/jaxrs-2.0/jaxrs-2.0-resteasy-3.1/javaagent/build.gradle.kts @@ -46,7 +46,7 @@ dependencies { tasks { named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) } withType().configureEach { diff --git a/instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts b/instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts index 0f99baa413..86930b4c15 100644 --- a/instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts +++ b/instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts @@ -25,7 +25,7 @@ dependencies { tasks { named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) } } diff --git a/instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts b/instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts index 3fe7b2b6cb..f5deb5c1e3 100644 --- a/instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts +++ b/instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts @@ -14,7 +14,7 @@ dependencies { tasks { named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) } } diff --git a/instrumentation/netty/netty-4.1/javaagent/build.gradle.kts b/instrumentation/netty/netty-4.1/javaagent/build.gradle.kts index 9f8a161efa..ce7a7617cf 100644 --- a/instrumentation/netty/netty-4.1/javaagent/build.gradle.kts +++ b/instrumentation/netty/netty-4.1/javaagent/build.gradle.kts @@ -53,7 +53,7 @@ tasks { } named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) dependsOn(testConnectionSpan) filter { diff --git a/instrumentation/redisson-3.0/javaagent/build.gradle.kts b/instrumentation/redisson-3.0/javaagent/build.gradle.kts index 9d6326a693..5fb71c9058 100644 --- a/instrumentation/redisson-3.0/javaagent/build.gradle.kts +++ b/instrumentation/redisson-3.0/javaagent/build.gradle.kts @@ -18,6 +18,6 @@ dependencies { } tasks.named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) } diff --git a/instrumentation/spring/spring-integration-4.1/javaagent/build.gradle.kts b/instrumentation/spring/spring-integration-4.1/javaagent/build.gradle.kts index 154d6e1d59..157f773928 100644 --- a/instrumentation/spring/spring-integration-4.1/javaagent/build.gradle.kts +++ b/instrumentation/spring/spring-integration-4.1/javaagent/build.gradle.kts @@ -58,7 +58,7 @@ tasks { } withType().configureEach { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) } } diff --git a/instrumentation/spring/spring-integration-4.1/library/build.gradle.kts b/instrumentation/spring/spring-integration-4.1/library/build.gradle.kts index 59bb4751ae..697d383361 100644 --- a/instrumentation/spring/spring-integration-4.1/library/build.gradle.kts +++ b/instrumentation/spring/spring-integration-4.1/library/build.gradle.kts @@ -18,7 +18,7 @@ dependencies { tasks { named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) } } diff --git a/instrumentation/spring/spring-webflux-5.0/javaagent/build.gradle.kts b/instrumentation/spring/spring-webflux-5.0/javaagent/build.gradle.kts index b9f5b707fa..fc89d7f61e 100644 --- a/instrumentation/spring/spring-webflux-5.0/javaagent/build.gradle.kts +++ b/instrumentation/spring/spring-webflux-5.0/javaagent/build.gradle.kts @@ -67,5 +67,5 @@ tasks.withType().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) } diff --git a/instrumentation/vertx-http-client/vertx-http-client-3.0/javaagent/build.gradle.kts b/instrumentation/vertx-http-client/vertx-http-client-3.0/javaagent/build.gradle.kts index b3f4de95a3..7d26f63563 100644 --- a/instrumentation/vertx-http-client/vertx-http-client-3.0/javaagent/build.gradle.kts +++ b/instrumentation/vertx-http-client/vertx-http-client-3.0/javaagent/build.gradle.kts @@ -28,6 +28,6 @@ dependencies { tasks { named("test") { - systemProperty("testLatestDeps", findProperty("testLatestDeps")) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) } } \ No newline at end of file