diff --git a/benchmark/build.gradle b/benchmark/build.gradle index 39314f8a9f46b6bc9aa30819ce4eeb17b9bcc2d1..3761f9a819f9b4c6091ffc8b164f457a26ad45cb 100644 --- a/benchmark/build.gradle +++ b/benchmark/build.gradle @@ -20,17 +20,17 @@ jar { from { configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) } } + + doLast { + copy { + from jar + into "../frameworks/SPASSmeter/" + rename('benchmark.jar', 'MooBench.jar') + } + copy { + from jar + into "../frameworks/opentelemetry/" + rename('benchmark.jar', 'MooBench.jar') + } + } } - -task copyJarToBin(type:Copy,dependsOn:[jar]) { - copy { - from jar - into "../frameworks/SPASSmeter/" - rename('benchmark.jar', 'MooBench.jar') - } - copy { - from jar - into "../frameworks/opentelemetry/" - rename('benchmark.jar', 'MooBench.jar') - } -} \ No newline at end of file