Skip to content

Commit

Permalink
Upgrade to bazel 0.27
Browse files Browse the repository at this point in the history
  • Loading branch information
ianoc-stripe committed Jun 29, 2019
1 parent 16387cd commit ea26911
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bazel-installer-linux-x86_64.sh.sha256
@@ -1 +1 @@
5b9ab8a68c53421256909f79c47bde76a051910217531cbf35ee995448254fa7 bazel-0.25.2-installer-linux-x86_64.sh
8bff4f8b686df473de77fbfbb23461cd6f02f6218bba12b60ecca3294f84495f bazel-0.27.0-installer-linux-x86_64.sh
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -16,10 +16,10 @@ jdk:
- openjdk11

before_install:
- wget 'https://github.com/bazelbuild/bazel/releases/download/0.25.2/bazel-0.25.2-installer-linux-x86_64.sh'
- wget 'https://github.com/bazelbuild/bazel/releases/download/0.27.0/bazel-0.27.0-installer-linux-x86_64.sh'
- sha256sum -c .bazel-installer-linux-x86_64.sh.sha256
- chmod +x bazel-0.25.2-installer-linux-x86_64.sh
- ./bazel-0.25.2-installer-linux-x86_64.sh --user
- chmod +x bazel-0.27.0-installer-linux-x86_64.sh
- ./bazel-0.27.0-installer-linux-x86_64.sh --user
- cp .bazelrc.travis .bazelrc

script:
Expand Down
20 changes: 16 additions & 4 deletions WORKSPACE
Expand Up @@ -7,16 +7,28 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl",
git_repository(
name = "io_bazel_rules_scala",
remote = "https://github.com/bazelbuild/rules_scala",
commit = "ca5a7acff4ff630f68f58b8e01e8c25dbf908fb7" # HEAD as of 2019-05-13, update this as needed
commit = "dc5a793e8e643a6aa4889b14e08ce9554ac667ec" # HEAD as of 2019-05-13, update this as needed
)

http_archive(
name = "com_google_protobuf",
sha256 = "9510dd2afc29e7245e9e884336f848c8a6600a14ae726adb6befdb4f786f0be2",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.6.1.3.zip"],
strip_prefix = "protobuf-3.6.1.3",
sha256 = "1e622ce4b84b88b6d2cdf1db38d1a634fe2392d74f0b7b74ff98f3a51838ee53",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.8.0.zip"],
strip_prefix = "protobuf-3.8.0",
)

http_archive(
name = "bazel_skylib",
sha256 = "7832382668c6dde9f57e18923763a24f9087cac66a50fbcc5afca848d03f2aa1",
strip_prefix = "bazel-skylib-b113ed5d05ccddee3093bb157b9b02ab963c1c32",
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/b113ed5d05ccddee3093bb157b9b02ab963c1c32.tar.gz"],
)

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

protobuf_deps()


load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
scala_repositories()
register_toolchains("//:scala_toolchain")
Expand Down

0 comments on commit ea26911

Please sign in to comment.