Skip to content

Commit

Permalink
Use the new assemble_maven from @graknlabs_dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganeshwara Hananda committed Mar 30, 2021
1 parent d6ded8c commit 71b277a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,16 @@ pip_deps()
load("@graknlabs_bazel_distribution//github:deps.bzl", github_deps = "deps")
github_deps()

# Load //maven
load("@graknlabs_bazel_distribution//maven:deps.bzl", graknlabs_bazel_distribution_maven_artifacts = "maven_artifacts")

############################
# Load @maven dependencies #
############################

load("@graknlabs_dependencies//library/maven:rules.bzl", "maven")
load("//dependencies/maven:artifacts.bzl", "artifacts")
maven(artifacts + graknlabs_dependencies_tool_maven_artifacts)
maven(artifacts + graknlabs_dependencies_tool_maven_artifacts + graknlabs_bazel_distribution_maven_artifacts)

#############################################
# Create @graknlabs_protocol_workspace_refs #
Expand Down
2 changes: 1 addition & 1 deletion dependencies/graknlabs/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ def graknlabs_dependencies():
git_repository(
name = "graknlabs_dependencies",
remote = "https://github.com/graknlabs/dependencies",
commit = "d49062d3cfe3f2ee1d9b33fa181ce9e9792d9f15", # sync-marker: do not remove this comment, this is used for sync-dependencies by @graknlabs_dependencies
commit = "adb0d08bf56a64ae7d731800cfc0f85c63733cf1", # sync-marker: do not remove this comment, this is used for sync-dependencies by @graknlabs_dependencies
)
2 changes: 2 additions & 0 deletions dependencies/maven/artifacts.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
@maven//:commons_io_commons_io_1_4
@maven//:commons_logging_commons_logging
@maven//:commons_logging_commons_logging_1_2
@maven//:info_picocli_picocli
@maven//:info_picocli_picocli_4_3_2
@maven//:io_grpc_grpc_api
@maven//:io_grpc_grpc_api_1_33_1
@maven//:io_grpc_grpc_context
Expand Down
2 changes: 1 addition & 1 deletion grpc/java/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ checkstyle_test(
assemble_maven(
name = "assemble-maven",
target = ":protocol",
package = "grpc",
source_jar_prefix = "grakn/protocol/",
version_overrides = version(artifacts_org = artifacts),
workspace_refs = "@graknlabs_protocol_workspace_refs//:refs.json"
)
Expand Down

0 comments on commit 71b277a

Please sign in to comment.