Skip to content

Commit

Permalink
upgrade canton to 0.23.0 (digital-asset#9422)
Browse files Browse the repository at this point in the history
also move canton download to deps

changelog_begin
changelog_end
  • Loading branch information
oliverse-da authored Apr 15, 2021
1 parent c367dda commit 9c160f9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
15 changes: 0 additions & 15 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -941,18 +941,3 @@ dev_env_tool(
],
win_tool = "msys2",
)

http_archive(
name = "canton",
build_file_content = """
package(default_visibility = ["//visibility:public"])
java_import(
name = "lib",
jars = glob(["lib/**/*.jar"]),
)
""",
sha256 = "9fb38c922d302c94e200c161ec8467ea39f4c31c9a7fad0b32f1493170a51fa7",
strip_prefix = "canton-community-0.23.0-SNAPSHOT",
urls = ["https://www.canton.io/releases/canton-community-20210407.tar.gz"],
)
16 changes: 16 additions & 0 deletions deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -384,3 +384,19 @@ genrule(
)
""",
)

if "canton" not in native.existing_rules():
http_archive(
name = "canton",
build_file_content = """
package(default_visibility = ["//visibility:public"])
java_import(
name = "lib",
jars = glob(["lib/**/*.jar"]),
)
""",
sha256 = "5c03dd4351c2d360e8fb8ba4f78ca5fe46e8025c3b16b39295a739e0c0a690bc",
strip_prefix = "canton-community-0.23.0",
urls = ["https://www.canton.io/releases/canton-community-0.23.0.tar.gz"],
)

0 comments on commit 9c160f9

Please sign in to comment.