Skip to content

Commit

Permalink
migrate example to maven_install
Browse files Browse the repository at this point in the history
  • Loading branch information
plaird committed Sep 21, 2020
1 parent 1e2bf81 commit a2a3fb2
Show file tree
Hide file tree
Showing 6 changed files with 4,493 additions and 905 deletions.
17 changes: 13 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,20 @@
#
workspace(name = "bazel_springboot_rule")

# Nexus/Artifactory
maven_server(
name = "default",
url = "https://repo.maven.apache.org/maven2",
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

RULES_JVM_EXTERNAL_TAG = "3.3"
RULES_JVM_EXTERNAL_SHA = "d85951a92c0908c80bd8551002d66cb23c3434409c814179c0ff026b53544dab"

http_archive(
name = "rules_jvm_external",
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
sha256 = RULES_JVM_EXTERNAL_SHA,
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)

load("//:external_deps.bzl", "external_maven_jars")
external_maven_jars()

load("@maven//:defs.bzl", "pinned_maven_install")
pinned_maven_install()
Loading

0 comments on commit a2a3fb2

Please sign in to comment.