forked from bazel-contrib/rules_jvm_external
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversions.bzl
25 lines (21 loc) · 1.18 KB
/
versions.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
_COURSIER_CLI_VERSION = "v2.0.7"
COURSIER_CLI_HTTP_FILE_NAME = ("coursier_cli_" + _COURSIER_CLI_VERSION).replace(".", "_").replace("-", "_")
COURSIER_CLI_GITHUB_ASSET_URL = "https://github.com/coursier/coursier/releases/download/{COURSIER_CLI_VERSION}/coursier.jar".format(COURSIER_CLI_VERSION = _COURSIER_CLI_VERSION)
# Run 'bazel run //:mirror_coursier' to upload a copy of the jar to the Bazel mirror.
COURSIER_CLI_BAZEL_MIRROR_URL = "https://mirror.bazel.build/coursier_cli/" + COURSIER_CLI_HTTP_FILE_NAME + ".jar"
COURSIER_CLI_SHA256 = "babba8a144533f041a4de791d32de00552e31fa56231f241560a2ce6a7a72702"
JQ_DEFAULT_BASE_URL = "https://github.com/stedolan/jq/releases/download/jq-1.6/"
JQ_VERSIONS = {
"linux": struct(
url = JQ_DEFAULT_BASE_URL + "jq-linux64",
sha256 = "af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44",
),
"macos": struct(
url = JQ_DEFAULT_BASE_URL + "jq-osx-amd64",
sha256 = "5c0a0a3ea600f302ee458b30317425dd9632d1ad8882259fcaf4e9b868b2b1ef",
),
"windows": struct(
url = JQ_DEFAULT_BASE_URL + "jq-win64.exe",
sha256 = "a51d36968dcbdeabb3142c6f5cf9b401a65dc3a095f3144bd0c118d5bb192753",
),
}