Releases: bazel-contrib/rules_jvm_external
Releases · bazel-contrib/rules_jvm_external
July 23 2018, Snapshot 2
Add this in your WORKSPACE file:
# Google Maven Repository
GMAVEN_TAG = "20180723-2"
http_archive(
name = "gmaven_rules",
strip_prefix = "gmaven_rules-%s" % GMAVEN_TAG,
url = "https://github.com/bazelbuild/gmaven_rules/archive/%s.tar.gz" % GMAVEN_TAG,
)
load("@gmaven_rules//:gmaven.bzl", "gmaven_rules")
gmaven_rules()
Use the gmaven_artifact
macro in your BUILD file:
load("@gmaven_rules//:defs.bzl", "gmaven_artifact")
android_library(
...
deps = [
gmaven_artifact("com.android.support:design:aar:27.0.2"),
gmaven_artifact("com.android.support:support_annotations:jar:27.0.2"),
gmaven_artifact("com.android.support.test.espresso:espresso_core:aar:3.0.1"),
],
)
June 25 2018, Snapshot 1
To use, add this snippet in your WORKSPACE file:
# Google Maven Repository
GMAVEN_TAG = "20180625-1"
http_archive(
name = "gmaven_rules",
strip_prefix = "gmaven_rules-%s" % GMAVEN_TAG,
url = "https://github.com/bazelbuild/gmaven_rules/archive/%s.tar.gz" % GMAVEN_TAG,
)
load("@gmaven_rules//:gmaven.bzl", "gmaven_rules")
gmaven_rules()
June 7, 2018 Snapshot 1
To use, add this snippet in your WORKSPACE file:
# Google Maven Repository
GMAVEN_TAG = "20180607-1"
http_archive(
name = "gmaven_rules",
strip_prefix = "gmaven_rules-%s" % GMAVEN_TAG,
url = "https://github.com/bazelbuild/gmaven_rules/archive/%s.tar.gz" % GMAVEN_TAG,
)
load("@gmaven_rules//:gmaven.bzl", "gmaven_rules")
gmaven_rules()
May 30, 2018 Snapshot 1
To use, add this snippet in your WORKSPACE file:
# Google Maven Repository
GMAVEN_TAG = "20180530-1"
http_archive(
name = "gmaven_rules",
strip_prefix = "gmaven_rules-%s" % GMAVEN_TAG,
url = "https://github.com/bazelbuild/gmaven_rules/archive/%s.tar.gz" % GMAVEN_TAG,
)
load("@gmaven_rules//:gmaven.bzl", "gmaven_rules")
gmaven_rules()
May 13, 2018 Snapshot 1
To use, add this snippet in your WORKSPACE
file:
# Google Maven Repository
GMAVEN_TAG = "20180513-1"
http_archive(
name = "gmaven_rules",
strip_prefix = "gmaven_rules-%s" % GMAVEN_TAG,
url = "https://github.com/bazelbuild/gmaven_rules/archive/%s.tar.gz" % GMAVEN_TAG,
)
load("@gmaven_rules//:gmaven.bzl", "gmaven_rules")
gmaven_rules()
0.1.0
Changes in this release:
gmaven.bzl
updated as of April 13, 2018maven
is no longer required to download artifacts.- Artifacts are no longer cached in the local Maven repository (usually
~/.m2
), since the underlying downloading mechanism is switched to direct HTTP. Instead, use--repository_cache
or--experimental_distdir
to cache downloaded artifacts. See Bazel's Build Options for more information.