Skip to content

Commit

Permalink
bazel build scaffolding for the ledger http-json API (digital-asset#1713
Browse files Browse the repository at this point in the history
)

* bazel build

* Moving it into ledger-api/http-json.

application-api module name does not make sense, API stands for
application programming interface... so application application
programming interface? Nah.
  • Loading branch information
leo-da authored Jun 17, 2019
1 parent 9990486 commit 4974c1b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions ledger-api/http-json/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

load(
"//bazel_tools:scala.bzl",
"da_scala_library",
"da_scala_test_suite",
)

da_scala_library(
name = "http-json",
srcs = glob(["src/main/scala/**/*.scala"]),
tags = ["maven_coordinates=com.digitalasset.ledger-api:http-json:__VERSION__"],
visibility = [
"//visibility:public",
],
deps = [
"//3rdparty/jvm/io/spray:spray_json",
"//3rdparty/jvm/org/scalaz:scalaz_core",
],
)

da_scala_test_suite(
name = "tests",
size = "small",
srcs = glob(["src/test/scala/**/*.scala"]),
deps = [
":http-json",
],
)

0 comments on commit 4974c1b

Please sign in to comment.