1workspace(name = "io_bazel_skydoc") 2 3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 4load(":setup.bzl", "stardoc_repositories") 5 6stardoc_repositories() 7 8####################################################################### 9##### MOST USERS SHOULD NOT NEED TO COPY ANYTHING BELOW THIS LINE ##### 10####################################################################### 11load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") 12 13# Needed for generating the Stardoc release binary. 14git_repository( 15 name = "io_bazel", 16 commit = "5eeccd8a647df10d154d3b86e9732e7f263c96db", # Oct 7, 2019 17 remote = "https://github.com/bazelbuild/bazel.git", 18) 19 20# Needed only because of java_tools. 21http_archive( 22 name = "rules_cc", 23 sha256 = "36fa66d4d49debd71d05fba55c1353b522e8caef4a20f8080a3d17cdda001d89", 24 strip_prefix = "rules_cc-0d5f3f2768c6ca2faca0079a997a97ce22997a0c", 25 urls = [ 26 "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", 27 "https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", 28 ], 29) 30 31# Needed as a transitive dependency of @io_bazel 32git_repository( 33 name = "com_google_protobuf", 34 commit = "7b28271a61a3da0a37f6fda399b0c4c86464e5b3", # 2018-11-16 35 remote = "https://github.com/protocolbuffers/protobuf.git", 36) 37 38# Needed as a transitive dependency of @io_bazel 39git_repository( 40 name = "rules_python", 41 remote = "https://github.com/bazelbuild/rules_python.git", 42 commit = "4b84ad270387a7c439ebdccfd530e2339601ef27", 43) 44 45# Needed as a transitive dependency of @io_bazel 46http_archive( 47 name = "rules_pkg", 48 sha256 = "5bdc04987af79bd27bc5b00fe30f59a858f77ffa0bd2d8143d5b31ad8b1bd71c", 49 urls = [ 50 "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/rules_pkg-0.2.0.tar.gz", 51 "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.0/rules_pkg-0.2.0.tar.gz", 52 ], 53) 54 55# Needed as a transitive dependency of @io_bazel 56http_archive( 57 name = "rules_proto", 58 sha256 = "88b0a90433866b44bb4450d4c30bc5738b8c4f9c9ba14e9661deb123f56a833d", 59 strip_prefix = "rules_proto-b0cc14be5da05168b01db282fe93bdf17aa2b9f4", 60 urls = [ 61 "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/b0cc14be5da05168b01db282fe93bdf17aa2b9f4.tar.gz", 62 "https://github.com/bazelbuild/rules_proto/archive/b0cc14be5da05168b01db282fe93bdf17aa2b9f4.tar.gz", 63 ], 64) 65 66# Needed only for testing stardoc across local-repository bounds. 67local_repository( 68 name = "local_repository_test", 69 path = "test/testdata/local_repository_test", 70) 71