Skip to content

Commit

Permalink
Get rules_scala working
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathon Belotti authored May 10, 2022
1 parent 4a0ff9a commit bd89c35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ common --incompatible_java_common_parameters=false
# --javabase set for Github Codespaces which doesn't have Java installed.
build --java_runtime_version=remotejdk_11
build --java_language_version=11
build --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_java11
build --java_runtime_version=remotejdk_11
build --tool_java_runtime_version=remotejdk_11
# Required for rules_scala
build --javabase=@bazel_tools//tools/jdk:remote_jdk11

build --sandbox_default_allow_network=false
build --remote_local_fallback
Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ http_archive(
url = "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/{}/bazel-skylib-{}.tar.gz".format(skylib_version, skylib_version),
)

rules_scala_version = "e7a948ad1948058a7a5ddfbd9d1629d6db839933"
rules_scala_version = "62d2af160ce8ec298a72c92efcf913aac61867ee"
http_archive(
name = "io_bazel_rules_scala",
sha256 = "76e1abb8a54f61ada974e6e9af689c59fd9f0518b49be6be7a631ce9fa45f236",
sha256 = "6b415064d1b276b4a717bfd38132a53d11102ae01a75c4b3a962771d12f01335",
strip_prefix = "rules_scala-%s" % rules_scala_version,
type = "zip",
url = "https://github.com/bazelbuild/rules_scala/archive/%s.zip" % rules_scala_version,
Expand Down

0 comments on commit bd89c35

Please sign in to comment.