Skip to content

0.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Dec 17:58
· 9 commits to main since this release
v0.1.0
146169b

This is the initial tagged release of bazel_jar_jar, a Bazel rule to create shaded JAR.

Using Bzlmod

  1. Enable with common --enable_bzlmod in .bazelrc (default with Bazel 7).
  2. Add to your MODULE.bazel file:
bazel_dep(name = "bazel_jar_jar", version = "0.1.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_jar_jar",
    sha256 = "f766a2143bf11f70a7de67798db6cd3851fedc77b7037162e052fee6207fa5ca",
    strip_prefix = "bazel_jar_jar-0.1.0",
    url = "https://github.com/bazeltools/bazel_jar_jar/releases/download/v0.1.0/bazel_jar_jar-v0.1.0.tar.gz",
)

load(
    "@com_github_johnynek_bazel_jar_jar//:jar_jar.bzl",
    "jar_jar_repositories",
)

jar_jar_repositories()

Updates

New Contributors

Full Changelog: https://github.com/bazeltools/bazel_jar_jar/commits/v0.1.0