github.com/bazelbuild/rules_webtesting@v0.2.0/WORKSPACE (about) 1 # Copyright 2016 Google Inc. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 # 15 ################################################################################ 16 # 17 workspace(name = "io_bazel_rules_webtesting") 18 19 # NOTE: URLs are mirrored by an asynchronous review process. They must 20 # be greppable for that to happen. It's OK to submit broken mirror 21 # URLs, so long as they're correctly formatted. Bazel's downloader 22 # has fast failover. 23 24 http_archive( 25 name = "io_bazel_rules_go", 26 sha256 = "feba3278c13cde8d67e341a837f69a029f698d7a27ddbb2a202be7a10b22142a", 27 urls = [ 28 "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/0.10.3/rules_go-0.10.3.tar.gz", 29 "https://github.com/bazelbuild/rules_go/releases/download/0.10.3/rules_go-0.10.3.tar.gz", 30 ], 31 ) 32 33 http_archive( 34 name = "bazel_gazelle", 35 sha256 = "d03625db67e9fb0905bbd206fa97e32ae9da894fe234a493e7517fd25faec914", 36 urls = [ 37 "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/0.10.1/bazel-gazelle-0.10.1.tar.gz", 38 "https://github.com/bazelbuild/bazel-gazelle/releases/download/0.10.1/bazel-gazelle-0.10.1.tar.gz", 39 ], 40 ) 41 42 load("@io_bazel_rules_go//go:def.bzl", "go_register_toolchains", "go_rules_dependencies") 43 44 go_rules_dependencies() 45 46 go_register_toolchains() 47 48 load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") 49 50 gazelle_dependencies() 51 52 load("//web:repositories.bzl", "browser_repositories", "web_test_repositories") 53 54 web_test_repositories() 55 56 browser_repositories( 57 chromium = True, 58 firefox = True, 59 ) 60 61 http_archive( 62 name = "io_bazel_rules_scala", 63 sha256 = "0ac3ef277205d10ca353a5760da9710c8dbf2fca5bd1d2b6143a073ed2a1a50f", 64 strip_prefix = "rules_scala-55c5bd2c4af311008bcfa0f989af39026ed567fe", 65 urls = [ 66 "https://mirror.bazel.build/github.com/bazelbuild/rules_scala/archive/55c5bd2c4af311008bcfa0f989af39026ed567fe.tar.gz", 67 "https://github.com/bazelbuild/rules_scala/archive/55c5bd2c4af311008bcfa0f989af39026ed567fe.tar.gz", 68 ], 69 ) 70 71 load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories") 72 73 scala_repositories() 74 75 load("@io_bazel_rules_scala//scala:toolchains.bzl", "scala_register_toolchains") 76 77 scala_register_toolchains()