Bazel Examples Project setup Step 1: Build the jar with dependencies bazel build //scala-sambhar:bin_deploy.jar Step 2: Execute the jar java -jar bazel-bin/scala-sambhar/bin_deploy.jar