# 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()