diff --git a/ledger/indexer-benchmark/BUILD.bazel b/ledger/indexer-benchmark/BUILD.bazel index 15c849601057..fffc238840fd 100644 --- a/ledger/indexer-benchmark/BUILD.bazel +++ b/ledger/indexer-benchmark/BUILD.bazel @@ -15,7 +15,7 @@ load("//bazel_tools:pom_file.bzl", "pom_file") load("@scala_version//:index.bzl", "scala_major_version_suffix") da_scala_library( - name = "indexer-benchmark", + name = "indexer-benchmark-lib", srcs = glob(["src/main/scala/**/*.scala"]), resources = glob(["src/main/resources/**/*"]), scala_deps = [ @@ -23,7 +23,6 @@ da_scala_library( "@maven//:com_typesafe_akka_akka_actor", "@maven//:com_typesafe_akka_akka_stream", ], - tags = ["maven_coordinates=com.daml:ledger-indexer-benchmark:__VERSION__"], visibility = [ "//visibility:public", ], @@ -57,7 +56,7 @@ da_scala_library( ], visibility = ["//visibility:public"], deps = [ - ":indexer-benchmark", + ":indexer-benchmark-lib", "//daml-lf/data", "//language-support/scala/bindings", "//ledger/ledger-api-health", @@ -72,8 +71,13 @@ da_scala_library( ) da_scala_binary( - name = "app", + name = "indexer-benchmark", main_class = "com.daml.ledger.indexerbenchmark.Main", + tags = [ + "fat_jar", + "maven_coordinates=com.daml:ledger-indexer-benchmark:__VERSION__", + "no_scala_version_suffix", + ], visibility = ["//visibility:public"], runtime_deps = [ "@maven//:ch_qos_logback_logback_classic", diff --git a/release/artifacts.yaml b/release/artifacts.yaml index d1666bdad81e..3c39b55b62af 100644 --- a/release/artifacts.yaml +++ b/release/artifacts.yaml @@ -103,6 +103,8 @@ type: jar-scala - target: //ledger/cli-opts:cli-opts type: jar-scala +- target: //ledger/indexer-benchmark:indexer-benchmark + type: jar-deploy - target: //ledger/ledger-api-akka:ledger-api-akka type: jar-scala - target: //ledger/ledger-api-auth:ledger-api-auth