Skip to content

Commit

Permalink
Update dependencies (#22)
Browse files Browse the repository at this point in the history
Bazel: 4.1.0 -> 4.2.1
Skylib: 1.0.2 -> 1.1.1
rules_jvm_external: 4.0 -> 4.1
JMH: 1.32 -> 1.33
buildifier: 3.4.0 -> 4.2.2
google-java-format: 1.8 -> 1.11.0
  • Loading branch information
curiousleo authored Oct 18, 2021
1 parent 1bb5042 commit 05fc2d3
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 92 deletions.
24 changes: 13 additions & 11 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file"

# Version check

BAZEL_SKYLIB_EXTERNAL_TAG = "1.0.2"
BAZEL_SKYLIB_EXTERNAL_TAG = "1.1.1"

BAZEL_SKYLIB_EXTERNAL_SHA = "64ad2728ccdd2044216e4cec7815918b7bb3bb28c95b7e9d951f9d4eccb07625"
BAZEL_SKYLIB_EXTERNAL_SHA = "fc64d71583f383157e3e5317d24e789f942bc83c76fde7e5981cadc097a3c3cc"

http_archive(
name = "bazel_skylib",
Expand All @@ -19,9 +19,9 @@ versions.check(minimum_bazel_version = "2.0.0")

# Maven rule

RULES_JVM_EXTERNAL_TAG = "4.0"
RULES_JVM_EXTERNAL_TAG = "4.1"

RULES_JVM_EXTERNAL_SHA = "31701ad93dbfe544d597dbe62c9a1fdd76d81d8a9150c2bf1ecf928ecdf97169"
RULES_JVM_EXTERNAL_SHA = "f36441aa876c4f6427bfb2d1f2d723b48e9d930b62662bf723ddfb8fc80f0140"

http_archive(
name = "rules_jvm_external",
Expand All @@ -34,7 +34,7 @@ load("@rules_jvm_external//:defs.bzl", "maven_install")

# Maven dependencies

JMH_VERSION = "1.32"
JMH_VERSION = "1.33"

maven_install(
artifacts = [
Expand Down Expand Up @@ -66,23 +66,25 @@ pinned_maven_install()

# Formatting

BUILDIFIER_VERSION = "4.2.2"

http_file(
name = "buildifier_darwin",
executable = True,
sha256 = "3c30fcddfea8b515fff75127788c16dca5d901873ec4cf2102225cccbffc1702",
urls = ["https://github.com/bazelbuild/buildtools/releases/download/3.4.0/buildifier.mac"],
sha256 = "105353d741d7dd9788a7c886591e3d3f41520d4eec624a36410b2b7456ef11c6",
urls = ["https://github.com/bazelbuild/buildtools/releases/download/%s/buildifier-darwin-amd64" % BUILDIFIER_VERSION],
)

http_file(
name = "buildifier_linux",
executable = True,
sha256 = "5d47f5f452bace65686448180ff63b4a6aaa0fb0ce0fe69976888fa4d8606940",
urls = ["https://github.com/bazelbuild/buildtools/releases/download/3.4.0/buildifier"],
sha256 = "3f0e450cd852dbfd89aa2761d85f9fbeb6f0faccfc5d4fbe48952cfe0712922a",
urls = ["https://github.com/bazelbuild/buildtools/releases/download/%s/buildifier-linux-amd64" % BUILDIFIER_VERSION],
)

http_file(
name = "google_java_format_jar",
downloaded_file_path = "google-java-format.jar",
sha256 = "29c864e58db8784028f4871fa4ef1e9cfcc0e5b9939ead09c7f1fc59e64737be",
urls = ["https://github.com/google/google-java-format/releases/download/google-java-format-1.8/google-java-format-1.8-all-deps.jar"],
sha256 = "2a5273633c2b1c1607b60b5e17671e6a535dedbcdef74a127629a027297ab7c7",
urls = ["https://github.com/google/google-java-format/releases/download/v1.11.0/google-java-format-1.11.0-all-deps.jar"],
)
Loading

0 comments on commit 05fc2d3

Please sign in to comment.