From b7ded08614959ccb5d2cf06b8a6da6ef9becba00 Mon Sep 17 00:00:00 2001 From: Moritz Kiefer Date: Thu, 13 Jan 2022 11:47:57 +0100 Subject: [PATCH] Publish sandbox on x as a standalone JAR (#12386) Checked with @tudor-da that pkvutils does not rely on this being available as a thin library. changelog_begin changelog_end --- ledger/sandbox-on-x/BUILD.bazel | 6 +++++- release/artifacts.yaml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ledger/sandbox-on-x/BUILD.bazel b/ledger/sandbox-on-x/BUILD.bazel index a77b0e08154c..2a406aa29632 100644 --- a/ledger/sandbox-on-x/BUILD.bazel +++ b/ledger/sandbox-on-x/BUILD.bazel @@ -102,7 +102,6 @@ da_scala_library( resources = glob(["src/app/resources/**/*"]), scala_deps = [ ], - tags = ["maven_coordinates=com.daml:sandbox-on-x-app:__VERSION__"], visibility = ["//visibility:public"], deps = [ ":sandbox-on-x", @@ -115,6 +114,11 @@ da_scala_library( da_scala_binary( name = "app", main_class = "com.daml.ledger.sandbox.Main", + tags = [ + "fat_jar", + "maven_coordinates=com.daml:sandbox-on-x-app:__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 ddbd8d7fb6d8..183c4ae95cc0 100644 --- a/release/artifacts.yaml +++ b/release/artifacts.yaml @@ -163,8 +163,8 @@ type: jar-scala - target: //ledger/sandbox-on-x:sandbox-on-x type: jar-scala -- target: //ledger/sandbox-on-x:sandbox-on-x-app - type: jar-scala +- target: //ledger/sandbox-on-x:app + type: jar-deploy - target: //ledger/test-common:dar-files-1.14-lib type: jar-scala - target: //ledger/test-common:dar-files-1.dev-lib