diff --git a/runtime-attach/runtime-attach/build.gradle.kts b/runtime-attach/runtime-attach/build.gradle.kts index 447113990..56a7fea32 100644 --- a/runtime-attach/runtime-attach/build.gradle.kts +++ b/runtime-attach/runtime-attach/build.gradle.kts @@ -29,7 +29,7 @@ tasks { from({ agent.singleFile }) - rename { "otel-agent.jar" } + rename("^(.*)\\.jar\$", "otel-agent.jar") } withType().configureEach {