Skip to content

Commit 4f0f0bb

Browse files
vmaxGaneshwara Herawan Hananda
authored andcommitted
Integrate checking for unused Java dependencies (#19)
## What is the goal of this PR? Integrate checking for unused Java dependencies ## What are the changes implemented in this PR? - Load `@graknlabs_build_tools//unused_deps`'s dependencies - Check for unused dependencies in `build` CI job
1 parent 0da21c7 commit 4f0f0bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- install-bazel-linux-rbe
4242
- run-bazel-rbe:
4343
command: bazel build //...
44+
- run: bazel run @graknlabs_build_tools//unused_deps -- list
4445

4546
deploy-maven-snapshot:
4647
machine: true

WORKSPACE

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ graknlabs_build_tools()
2929
load("@graknlabs_build_tools//distribution:dependencies.bzl", "graknlabs_bazel_distribution")
3030
graknlabs_bazel_distribution()
3131

32+
load("@graknlabs_build_tools//unused_deps:dependencies.bzl", "unused_deps_dependencies")
33+
unused_deps_dependencies()
3234

3335
###########################
3436
# Load Bazel dependencies #
@@ -121,4 +123,4 @@ google_common_workspace_rules()
121123
load("@graknlabs_bazel_distribution//common:rules.bzl", "workspace_refs")
122124
workspace_refs(
123125
name = "graknlabs_protocol_workspace_refs"
124-
)
126+
)

0 commit comments

Comments
 (0)