forked from JetBrains/hirschgarten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE.bzlmod
47 lines (32 loc) · 1.96 KB
/
WORKSPACE.bzlmod
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This file contains only non-bzlmod dependencies. We want to get rid of it as soon as possible.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("@bazel_tools//tools/build_defs/repo:local.bzl", "local_repository")
# ======================================================================================================================
# io_bazel_rules_scala - required by rules_sonatype
IO_BAZEL_RULES_SCALA_TAG = "6.6.0"
IO_BAZEL_RULES_SCALA_SHA = "e734eef95cf26c0171566bdc24d83bd82bdaf8ca7873bec6ce9b0d524bdaf05d"
http_archive(
name = "io_bazel_rules_scala",
sha256 = IO_BAZEL_RULES_SCALA_SHA,
strip_prefix = "rules_scala-{}".format(IO_BAZEL_RULES_SCALA_TAG),
url = "https://github.com/bazelbuild/rules_scala/archive/refs/tags/v{}.tar.gz".format(IO_BAZEL_RULES_SCALA_TAG),
)
# ----------------------------------------------------------------------------------------------------------------------
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
scala_config(scala_version = "2.13.12")
# ----------------------------------------------------------------------------------------------------------------------
load("@io_bazel_rules_scala//scala:toolchains.bzl", "scala_register_toolchains")
scala_register_toolchains()
# ----------------------------------------------------------------------------------------------------------------------
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
scala_repositories()
# ======================================================================================================================
# rules_sonatype - for publish
local_repository(
name = "rules_sonatype",
path = "rules_sonatype",
)
# --------------------------------------------------------------------------------------------------------------------
load("@rules_sonatype//:defs.bzl", "sonatype_dependencies")
sonatype_dependencies()